-
Notifications
You must be signed in to change notification settings - Fork 122
Open
Labels
Description
I'm using the trix gem in my rails app, the text is being serialized/deserialized correctly and most of the html tags are working properly but ul/ol do not. for example, this text:
<div>ulist</div><ul><li>abc</li><li>def</li></ul><div>olist</div><ol><li>a</li><li>b</li><li>c</li></ol>
is saved correctly, deserializied correctly but then when repopulating the editor is simply ulistabcdefolistabc
Steps to Reproduce
<% @var = "<div>ulist</div><ul><li>abc</li><li>def</li></ul><div>olist</div><ol><li>a</li><li>b</li><li>c</li></ol>" %>
<input id='text_input' type="hidden" name="content" value="<%= @var %>">
<trix-editor input='text_input'></trix-editor>
Details
- Trix gem version: 0.9.10
- Browser name and version: firefox 51.0.1
- rails: 4.2.5
- ruby: 2.1.1p76
Thanks a lot!