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 2018/04/09 13:02:00 UTC
[jira] [Created] (DOXIA-574) XHTML: div tags filtered in the output
Graham Leggett created DOXIA-574:
------------------------------------
Summary: 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
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
(v7.6.3#76005)