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

Maintain table-structure when copying HTML tables into text/plain

    XMLWordPrintable

Details

    Description

      When copying the following contents of a QTextEdit

      QString str1=
      "<html>\
      <body>\
      <table>\
      <tr><td>AAAA</td><td>BB</td></tr>\
      <tr><td>CCC</td><td>D</td></tr>\
      </table>\
      </body>\
      </html>";

      and pasting into a plain-text editor, then the result is

      AAAA
      BB
      CCC
      D

      Qt should preserve the table row/column structure by instead generating plain text

      AAAA\tBB
      CCC\tD

      as is the case when copying a table from Internet Explorer or Word.

      Attachments

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

        Activity

          People

            sorvig Morten Sørvig
            vhilshei Volker Hilsheimer
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes