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

QTextDocument::toHtml silently ignores block markers

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.14.2
    • GUI: Text handling
    • None
    • Linux/X11

    Description

      See attached example.

      If I create a document, add a `QTextBlockFormat::marker` to some list element and then save it to HTML, the marker is silently dropped. The produced HTML is exactly the same as if no marker is set.

      It can be easily reproduced with Qt TextEdit example application: just add a "Task List (Checked)" element, save document and then load it. The task list element is dropped.

      Attachments

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

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            poboiko Igor Poboiko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes