Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.8
-
None
-
None
Description
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:
<?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>
The rendered output code looks like this:
<p>Foo</p> <h1>My Header</h1> <p>Moved to <a class="externalLink" href="http://example.org/">example.org</a>.</p>