You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2022/08/04 20:07:00 UTC

[jira] [Updated] (DOXIA-670) Remove code duplication XdocSink

     [ https://issues.apache.org/jira/browse/DOXIA-670?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Osipov updated DOXIA-670:
---------------------------------
    Description: {{XdocSink}} duplicates code from the parent class. That code can be removed. It has one caveat: The {{source}} element cannot be retained at all because it has a completely different meaning in HTML5: https://www.tutorialrepublic.com/html-reference/html5-source-tag.php and since only the {{XHTML5Parser}} can properly detect the new construct {{verbatim(boxed)}} will always be parsed as unboxed.  (was: {{Xhtml5Sink}} duplicates code from the parent class. That code can safely be removed.)

> Remove code duplication XdocSink
> --------------------------------
>
>                 Key: DOXIA-670
>                 URL: https://issues.apache.org/jira/browse/DOXIA-670
>             Project: Maven Doxia
>          Issue Type: Task
>          Components: Module - Xhtml
>    Affects Versions: 2.0.0-M3
>            Reporter: Michael Osipov
>            Assignee: Michael Osipov
>            Priority: Major
>             Fix For: 2.0.0-M4
>
>
> {{XdocSink}} duplicates code from the parent class. That code can be removed. It has one caveat: The {{source}} element cannot be retained at all because it has a completely different meaning in HTML5: https://www.tutorialrepublic.com/html-reference/html5-source-tag.php and since only the {{XHTML5Parser}} can properly detect the new construct {{verbatim(boxed)}} will always be parsed as unboxed.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)