delphidabbler/codesnip

REML lists in main display omit text after embedded UL or OL

delphidabbler opened this issue · 2 comments

If a list is embedded within a list, and text in the outer list item follows the end of the embedded list then that text is not displayed in the main display, unless it is itself a block, such as a paragraph.

For example:

<ol>
  <li>
    Foo
    <ul>
      <li>
        Bar
      </li>
    </ul>
    Baz
  </li>
</ol>

will display Foo but not Baz, but

<ol>
  <li>
    Foo
    <ul>
      <li>
        Bar
      </li>
    </ul>
    <p>
      Baz
    </p>
  </li>
</ol>

will display both Foo and Baz.

Working on fixing at same time, and in same feature branch, as issue #81.

Fixed at merge commit d9da938