Actually,
The gumbo parser is correct here. Although BV and preview will still show it, gumbo detects the error and reports it. So technically the following is illegal code:
Code:
<p>For instance, this fantastic sentence has bullets relating to
<ul>
<li>wizards,
<li>faster-than-light travel, and
<li>telepathy,
</ul>
and is further discussed below.</p>
According to the spec ...
http://www.w3.org/TR/html5/grouping-...#the-p-element
"List elements (in particular, ol and ul elements) cannot be children of p elements."
In an example in that sections says the correct way to best handle this is to rewrite it as follows:
Code:
div>For instance, this fantastic sentence has bullets relating to
<ul>
<li>wizards,
<li>faster-than-light travel, and
<li>telepathy,
</ul>
and is further discussed below.</div>
Personally, I see this as just the general stupidity of trying to edit anything while in BV. BV supports it, BV displays it, but technically is is incorrect html and incorrect in our context. Gumbo properly detects the incorrect html and warns you about it before reloading it into BV. If you let it, gumbo will properly fix the code to make it technically correct.
Not sure how to handle this. It is technically not a bug.
KevinH