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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes