23 Mar 2017 12:44
RichTextBox: All bullet list levels are exported to HTML with list-style-type:disc
All bullet list levels are exported to HTML with list-style-type:disc. Instead, they should be exported with list-style-type:disc, list-style-type: circle;, and list-style-type: square; depending on the level - Level 1,4,7 are with disc, level 2,5,8 are with circle, and level 3,6,9 are with square for the default bullet list type.
Note: There are more problems with the HTML export/import roundtrip in this use case:
- indents FirstLineIndent, RightIndent, Left are set locally - this prevent the expected changing of indent when changing the list level.
- formatting of the bullet (font for example) is set to the paragraph.
Steps to reproduce:
- Add bullet list with three levels.
- Export to HTML.
Expected: The browser show the list preserving the bullet styles.
Actual: The browser visualizes the list with different bullet styles.