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

QTextDocument/QTextEdit html rendering error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.5.3
    • GUI: Text handling
    • None
    • Windows

    Description

      <html>
       <head></head>
       <body> 
        <!--StartFragment-->
        <pre style="margin: 0px; overflow-wrap: initial; background: rgb(245, 245, 245); border-radius: 4px; font-size: 0.9em; overflow: auto; padding: calc(0.888889em); white-space: pre; word-break: initial; color: rgb(18, 18, 18); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"><code class="language-powershell" style="background-color: inherit; border-radius: 0px; font-family: Menlo, Monaco, Consolas, &quot;Andale Mono&quot;, &quot;lucida console&quot;, &quot;Courier New&quot;, monospace; font-size: inherit; margin: 0px; padding: 0px;"><span class="n">netsh</span> <span class="n">winsock</span> <span class="n">reset</span></code></pre>
        <!--EndFragment-->  
       </body>
      </html> 

      above html shuold be rendered like

      but in qt it was rendered as

      Attachments

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

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            brokensword 何 吉林
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes