You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When converting content that contains nested ordered and unordered lists from Fleather to HTML, the resulting HTML does not correctly represent the intended list structure. This issue appears under two conditions:
When there is a newline between the two lists.
When there is no newline between the two lists.
Steps to Reproduce
Create an Ordered List
Item 1: Level 1 - “1”
Item 2: Level 1 - “2”
Item 3: Level 2 - “1”
Create an Unordered List (Placed Below the Ordered List)
Item 1: Level 1 - “1”
Item 2: Level 2 - “1”
Convert the Document to HTML with ParchmentHtmlCodec.encode()
Environment
OS: macOS 15.2
Flutter 3.27.2
Fleather 1.19.0
Issue 1 - No Newline Between the Lists
In The Editor:
HTML Output:
Issue 2 - Newline Between the Lists
In The Editor:
HTML Output:
It appears that there is a problem with how Fleather encodes nested lists/lists that are below each other into HTML. The bug differs based on whether a newline exists between the ordered and unordered lists, leading to inconsistent HTML output.
Any insights or fixes to ensure consistent HTML conversion for both scenarios would be greatly appreciated.
The text was updated successfully, but these errors were encountered:
Description
When converting content that contains nested ordered and unordered lists from Fleather to HTML, the resulting HTML does not correctly represent the intended list structure. This issue appears under two conditions:
When there is a newline between the two lists.
When there is no newline between the two lists.
Steps to Reproduce
Environment
OS: macOS 15.2
Flutter 3.27.2
Fleather 1.19.0
Issue 1 - No Newline Between the Lists
In The Editor:
HTML Output:
Issue 2 - Newline Between the Lists
In The Editor:
HTML Output:
It appears that there is a problem with how Fleather encodes nested lists/lists that are below each other into HTML. The bug differs based on whether a newline exists between the ordered and unordered lists, leading to inconsistent HTML output.
Any insights or fixes to ensure consistent HTML conversion for both scenarios would be greatly appreciated.
The text was updated successfully, but these errors were encountered: