diff options
| author | Shawn Rutledge <shawn.rutledge@qt.io> | 2024-02-28 16:36:02 -0700 |
|---|---|---|
| committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2024-03-01 08:01:45 -0700 |
| commit | 60aeeb0e92762d57c208e4212374d30be6490611 (patch) | |
| tree | cb0e6f8e97026daa351b9a485695632710dfb87b /tests/manual/qopenglwidget/openglwidget/main.cpp | |
| parent | 803abb6323ca7f6a8ea8041aa16d511af727f318 (diff) | |
QTextHtmlImporter: don't forget to appendBlock after block tag closed
If we see a closing tag that really demands a new block after it,
like </ul>, that needs to be done even if some ignorable whitespace
and "inline" tags come after it. Don't get distracted by those.
Also add a comment in QTextDocument::setHtml() to remind the reader that
HTML parsing is a two-pass algorithm.
Pick-to: 6.6 6.7
Fixes: QTBUG-81662
Change-Id: If723c9d3c211a684725055a06bcf87be4e38923a
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'tests/manual/qopenglwidget/openglwidget/main.cpp')
0 files changed, 0 insertions, 0 deletions
