You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Graham Leggett (Jira)" <ji...@apache.org> on 2019/12/21 01:18:00 UTC
[jira] [Commented] (DOXIA-574) XHTML: div tags filtered in the
output
[ https://issues.apache.org/jira/browse/DOXIA-574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17001593#comment-17001593 ]
Graham Leggett commented on DOXIA-574:
--------------------------------------
This was a major issue, and was eventually fixed by the following three patches:
[DOXIA-575]
[MSITE-824]
[DOXIASITETOOLS-190]
This can be marked as closed fixed, I don't have the ability to close it.
> XHTML: div tags filtered in the output
> --------------------------------------
>
> Key: DOXIA-574
> URL: https://issues.apache.org/jira/browse/DOXIA-574
> Project: Maven Doxia
> Issue Type: Bug
> Components: Module - Xhtml
> Affects Versions: 1.8
> Reporter: Graham Leggett
> Priority: Minor
> Attachments: rs-test.zip
>
>
> When using the maven-site-plugin v3.7 to render the following xhtml document, the div tags are stripped from the output.
> It is not clear why.
> The original xhtml looks like this:
> {code}
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE html
> PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
> <head>
> <title>Virtual Library</title>
> </head>
> <body>
> <div>
> <p>Foo</p>
> </div>
> <div class="section">
> <div class="header">
> <h1>My Header</h1>
> </div>
> <div class="content">
> <p>Moved to <a href="http://example.org/">example.org</a>.</p>
> </div>
> </div>
> </body>
> </html>
> {code}
> The rendered output code looks like this:
> {code}
> <p>Foo</p>
>
>
>
> <h1>My Header</h1>
>
>
>
> <p>Moved to <a class="externalLink" href="http://example.org/">example.org</a>.</p>
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)