[ https://issues.apache.org/jira/browse/DOXIA-668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17582380#comment-17582380 ]
ASF GitHub Bot commented on DOXIA-668: -------------------------------------- michael-o commented on PR #114: URL: https://github.com/apache/maven-doxia/pull/114#issuecomment-1221413254 @hboutemy I think this is now done and good enough. When parsing XHTML5 is is impossible to retain it on table, but on cell level `style` will be retained and the sink will print `style` when justification is supplied. > Remove all obsolete attributes in HTML5 > --------------------------------------- > > Key: DOXIA-668 > URL: https://issues.apache.org/jira/browse/DOXIA-668 > Project: Maven Doxia > Issue Type: Sub-task > Components: Module - Xhtml > Reporter: Michael Osipov > Assignee: Michael Osipov > Priority: Major > Fix For: 2.0.0-M4 > > > This listing provides all obsolete elements along with obsolete attributes > per element: > [https://www.tutorialrepublic.com/html-reference/html5-tags.php|https://www.tutorialrepublic.com/html-reference/html5-tags.php]. > We will remove attribute definitions in Sink and Parser (XHTML5 and derived > like Xdoc and FML). Moreover these changes will break some usage: > * Aligning of table cell must now happen through CSS on the TDs rather than > providing it to table rows. There is no simple way to parse and write it in a > format-neutral manner w/o huge effort. > * Replace {{name}} with {{id}} on anchors. > * Table borders must be solved by CSS now > * Affected elements: {{img}}, {{hr}}, links ({{a}}), {{table}}, > {{td}}/{{th}}, sections, verbatims, {{tr}} > Virtual all deprecated attributes have been superseded by CSS. Improve also > tests because code is stricter now. -- This message was sent by Atlassian Jira (v8.20.10#820010)