Closed barrycarton closed 10 years ago
Alright, I found it, and just turned this into a PR. It makes sense that no one found it out so far: it only was a problem when trying to serialize a structured text whose first block is a list item.
Neat. Thanks!
When calling the getHtml() method on a unordered list from a StructuredText field the list the first element is wrongfully rendered as a sibling of its expected parent (
<ul>
);Raw output of the function :
Note that the
<ul>
tag start after the first<li>
element.I saw no test in the suite adressing this specific use case. It should be fairly easy to reproduce.
Similar problem arises with ordered lists. Feels free to ask me to file a new issue.