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

Qt Designer: Some HTML attributes lost when editing html of QTextBrowser

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 4.8.x, 5.4.1
    • Tools: Designer
    • None

      In Qt Designer, when editing a QTextBrowser document, some HTML attributes are overwritten when the document is commited.

      To reproduce:
      Create a new QTextBrowser
      Open the document editor to the source
      Set the source to

          <a href="http://www.google.com"; style="text-decoration: none">google it!</a>
      

      .

      Preview in the rich text view - note no underline on the link.
      Close the editor with OK.
      Note that the links are underlined and if you open the editor to the source again, the attribute has been replaced with text-decoration: underline.

        1. qtbug45752.zip
          1 kB
          Friedemann Kleint
        2. qtbug45752.jpg
          7 kB
          Friedemann Kleint
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            kleint Friedemann Kleint
            hmoffatt Hamish Moffatt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes