trix icon indicating copy to clipboard operation
trix copied to clipboard

Text after closing list tag is added to list

Open koenvanzuijlen opened this issue 7 years ago • 2 comments

When you use an input element to load stored HTML and it has an unordered list in it, any text that comes after the list closing tag is handled as if it is part of the last list item.

Steps to Reproduce

This code reproduces the issue:

<input id="x" type="hidden" name="content" value="<ul><li>Item 1</li><li>Item 2</li></ul>This should not be in the list" />

<trix-editor input="x">
</trix-editor>
Details
  • Trix version: 1.2.0
  • Browser name and version: Any
  • Operating system: Any

koenvanzuijlen avatar Aug 12 '19 13:08 koenvanzuijlen

Thanks for the report!

javan avatar Aug 14 '19 15:08 javan

Thanks for fixing!

koenvanzuijlen avatar Aug 15 '19 05:08 koenvanzuijlen