Details
-
Bug
-
Resolution: Won't Fix
-
Low
-
None
-
2.5.0
Description
Numbered lists do not render correctly, and indentation is missing from the current markdown renderer. Attached is a screenshot of the problem, and the example input:
1. Numbered item 1 * Sub-list 1. Numbered item 2 * Sub-list 1. Numbered item 3 * Sub-list
Results in the following invalid HTML output:
<ol> <li>Numbered item 1</li> </ol> <ul> <li>Sub-list</li> </ul> <ol> <li>Numbered item 2</li> </ol> <ul> <li>Sub-list</li> </ul> <ol> <li>Numbered item 3</li> </ol> <ul> <li>Sub-list</li> </ul></div>
Compare with expected output (using Github as an example):
<ol> <li>Numbered item 1 <ul> <li>Sub-list</li> </ul> </li> <li>Numbered item 2 <ul> <li>Sub-list</li> </ul> </li> <li>Numbered item 3 <ul> <li>Sub-list</li> </ul> </li> </ol>
In both HTML cases I changed whitespace indentation to be consistent for comparison.
Attachments
Issue Links
- relates to
-
BSERV-3395 Render .md files as markdown
- Closed
- mentioned in
-
Page Loading...