Describe the bug
If the HTML content has space in between the elements, the lists are not rendering.
ex:
this works
<ol><li>item1</li><li>item2</li></ol>
this doesn't
<ol><li>item1</li> <li>item2</li></ol>
this doesn't
<ol> <li>item1</li><li>item2</li></ol>
Notice there is space in between list elements.
To Reproduce
Steps to reproduce the behavior:
const text = ref('<ol><li>item1</li> <li>item2</li></ol>');
<QuillEditor v-model:content="text" contentType="html" />
Expected behaviour
It should display list properly
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Version @vueup/vue-quill 1.2.0
Describe the bug If the HTML content has space in between the elements, the lists are not rendering.
ex: this works
<ol><li>item1</li><li>item2</li></ol>
this doesn't<ol><li>item1</li> <li>item2</li></ol>
this doesn't<ol> <li>item1</li><li>item2</li></ol>
Notice there is space in between list elements.
To Reproduce Steps to reproduce the behavior:
Expected behaviour It should display list properly
Reproduction link https://stackblitz.com/edit/github-psltdg