delphidabbler / codesnip

A code bank designed with Pascal in mind
https://delphidabbler.com/software/codesnip
Other
111 stars 34 forks source link

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

Closed delphidabbler closed 1 year ago

delphidabbler commented 1 year ago

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.

delphidabbler commented 1 year ago

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

delphidabbler commented 1 year ago

Fixed at merge commit d9da938ef60eb9f80b1b70564ecfd2afee27a6a2