Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.4.0 Beta2
-
None
-
f3e528b97 (dev), 3b4901d2d (6.7)
Description
I suppose the first question is whether we store enough information to know which way the nesting is, or we only know that we have a block quote and a list. Anyway the writer messes it up pretty badly.
What if we have a quotation containing a list? > First some quoted text, and then a list: > > - one > - two is longer and has enough words to form a paragraph with text continuing > onto the next line > > enough of that, let's try a numbered list > > 1. List item one > 2. List item two is longer and has enough words to form a paragraph with text > continuing onto the next line.
becomes
What if we have a quotation containing a list? > First some quoted text, and then a list: - > one - > two is longer and has enough words to form a paragraph with text continuing > onto the next line > enough of that, let's try a numbered list 1. > List item one 2. > List item two is longer and has enough words to form a paragraph with > text continuing onto the next line.
Or if the block quote begins with a list item, the fact that it was a blockquote gets lost.
Attachments
Issue Links
- relates to
-
QTBUG-111707 markdown writer needs to add more newlines after (some) list items
- Reported
-
QTBUG-80603 markdown writer: code blocks and adjacent list items get merged and word-wrapped
- Closed
-
QTBUG-65384 QTextList: need API to set the starting number
- Closed