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

wrong HTML parsing in QTextBrowser

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P3: Somewhat important
    • None
    • 4.7.0
    • GUI: Text handling
    • None

    Description

      Function QTextBrowser::setSource() don't parse HTML file correctly to determine HTML encoding.

      The problem is in long comments and possible "unknown" meta names in <head> section.

      Original file (bad.html) have problem with NON-ASCII text. After removing large comments and 2 lines:

      <meta name="distribution" content="global">
      <meta name="Generator" content="texi2html 1.82">

      the file (good.html) can be viewed normally.

      Attachments

        1. bad.html
          2 kB
        2. good.html
          1 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            abalakin Alexey Balakin
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes