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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 4.8.x, 5.4.1
    • Fix Version/s: None
    • Component/s: Tools: Designer
    • Labels:
      None

      Description

      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.

        Attachments

        1. qtbug45752.jpg
          7 kB
          Friedemann Kleint
        2. qtbug45752.zip
          1 kB
          Friedemann Kleint

          Issue Links

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

            Activity

              People

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

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes