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

qwebengine page toPlainText does not give the expected result.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 5.15.2, 6.2.4
    • WebEngine
    • None

    Description

      check the attached example.

      the web html content is

      <div>
      <i>watch</i>out
      </div>
      

      when convert to plainText using QWebeningPage::toPlainText
      the result is
      watchout
      but a more humanable result should be : "watch out"

      because the text is lexically seperated by html tags i

      Attachments

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

        Activity

          People

            qt_webengine_team Qt WebEngine Team
            xiaoyifang yifang xiao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes