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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 4.8.x, 5.4.1
    • Tools: Designer
    • 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.zip
          1 kB
        2. qtbug45752.jpg
          qtbug45752.jpg
          7 kB

        Issue Links

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

          Activity

            People

              kleint Friedemann Kleint
              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