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

QTextDocument: CSS comments are not completely ignored, a html tag there will mess up view

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 5.15.2
    • GUI: Text handling
    • None

      I have a CSS sheet embedded in my HTML that contains some html tags in the comments, e.g.

      /*<td> table data cells related to .item*/

      This should be ignored by QTextDocument parser, but isn't and results in a garbled content shown by the widget. 

       

      FYI, using QTextBrowser, specifically, and setting the HTML with setHtml()

       

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

            esabraha Eskil Abrahamsen Blomfeldt
            wrobelda Dawid Wrobel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes