GNOME Bugzilla – Bug 723913
List in markdown: <p> inside the last element of a <ul> list
Last modified: 2014-02-09 13:08:43 UTC
With the following Markdown list: https://git.gnome.org/browse/gtksourceview/tree/gtksourceview/gtksourcebuffer.c#n85 The generated HTML is: <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <span class="emphasis"><em>comment</em></span>: the region delimits a comment</li> <li class="listitem"> <span class="emphasis"><em>string</em></span>: the region delimits a string</li> <li class="listitem"><p><span class="emphasis"><em>no-spell-check</em></span>: the region should not be spell checked</p></li> </ul></div> Note the <p> inside the last <li>. Because of that, when reading the documentation, the last list element is shifted vertically from the other elements.
Should be fixed in master now. Can you confirm?
commit c41814f02b7c7035bae3b1a7e07173f494755499 Author: William Jon McCann <william.jon.mccann@gmail.com> Date: Sat Feb 8 22:06:31 2014 -0500 Always wrap blocks in list items in para We were only wrapping the last item in a para. Which results in invalid docbook and causes inconsistent list items. https://bugzilla.gnome.org/show_bug.cgi?id=723913
I confirm it is fixed, thanks.