Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-111707

markdown writer needs to add more newlines after (some) list items

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 6.5.0 Beta3
    • GUI: Text handling
    • None

      See the TODO in tst_QTextMarkdownWriter::testWriteNumericListWithStart(): we end up with

      2.  ListItem 1
          1)  ListItem 2
              1.  ListItem 3
      3.  ListItem 4
          2)  ListItem 5
      0.  SecondList Item 0
      1.  SecondList Item 1
      

      and when we re-read it, the parser will smash ListItem 5 into ListItem 4. (In addition to having list numbering that cannot be preserved by the parser... that is unavoidable)

      Adding a newline after each item might be a bit excessive though, and might have other consequences... not sure.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            srutledg Shawn Rutledge
            srutledg Shawn Rutledge
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes