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

QTextBrowser: html tags <hr> makes <b> cause a line break if inside <font> .. </font>

    XMLWordPrintable

Details

    Description

      QTextBrowser displays HTML wrong.

      After the occurrence of a <hr> the occurrence of tags like <b>, <u>, <i> or <tt> inside a <font> </font> paragraph creates a line break.

      This example illustrates the behavior.

      <html>
      <hr>
      <font color=red> Some <b> bold </b> text </font>
      </html>

      Expected: No line break in the sentence.

      Result: Added a line break at the <b> tag.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            roschern Nils Christian Roscher-Nielsen (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes