Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Won't Fix
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
Consider the following xdoc file:
<?xml version="1.0" encoding="UTF-8"?>
<document>
<properties>
<title>test1</title>
</properties>
<body>
<section name="section name">
<p>text
<ul>
<li>list1</li>
</ul>
text2
<ul>
<li>list1</li>
</ul>
</p>
</section>
</body>
</document>
This renders to the following HTML output:
<a name="section name"></a><div class="section"><h2>section name</h2>
<p>text
<ul>
<li>list1</li>
</ul>
text2
<ul>
<li>list1</li>
</ul>
</div>
Please note that there is no closing </p> between </ul> and </div>
This is obviously no valid XHTML.
The supplied xdoc example is not valid either.
You should not have a list within a paragraph.
Try this code instead: