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
{{ message }}
Repository navigation
Text editor changes list structure of some markdown documents on save #3622
I understand this is a bug report and questions should be posted in the Community Discussions
I searched issues and couldn’t find anything (or linked relevant results below)
Bug Description
The markdown round trip of the text editor still changes these constructs. Follow-up to #3583.
Reproduction Steps
Open each file in the text editor, save, reload.
\--- (escaped thematic break)
- a\n\n* b (two lists with different bullet markers)
1. a\n\n1) b (two ordered lists with different delimiters)
1. Step\n - detail\n2. Step two\n 1. sub (content under ordered items indented with 2 spaces, as saved by OpenCloud v7.x)
a. one\nb. two\n\nA. one\nB. two (letter or roman lists of different types, also a. one\n\ni. one)
Expected Outcome
A paragraph with the text ---.
and 3. Two separate lists, also after saving.
The nested lists stay inside their list items.
Two separate lists that keep their type.
Actual Outcome
Loads as a paragraph \ followed by a horizontal rule. A paragraph --- typed in the editor turns into a horizontal rule after saving.
and 3. Both lists are saved with the same marker (- a\n\n- b, 1. a\n\n1. b) and merge into one list on the next load.
Since fix(editor): keep markdown lists and paragraphs stable across roundtrips #3614 the nested content is moved out of the list. The bullets become a top-level list and the ordered sub item continues the parent list: 1. Step\n\n- detail\n\n2. Step two\n3. sub. CommonMark requires 3 spaces here, but earlier versions of the editor (tiptap < 3.31) saved 2.
Both lists are merged into one list of the first type on load and saved renumbered: a. one\nb. two\nc. one\nd. two.
changed the title [-]Text editor changes escaped thematic breaks and merges adjacent lists in markdown[/-][+]Text editor changes list structure of some markdown documents on save[/+]on Oct 13, 2026
Activity
[-]Text editor changes escaped thematic breaks and merges adjacent lists in markdown[/-][+]Text editor changes list structure of some markdown documents on save[/+]JammingBen commentedon Oct 13, 2026
Point 1. has been tackled via #3765.
The remaining issues only alter formatting, not content. Hence degrading to p3.