Improve support for HTML entities in StyledText
authorKai Uwe Broulik <kde@privat.broulik.de>
Wed, 27 May 2015 08:52:59 +0000 (10:52 +0200)
committerKai Uwe Broulik <kde@privat.broulik.de>
Fri, 3 Jul 2015 14:47:14 +0000 (14:47 +0000)
commit8b205fd05dcdc4a0e7ec6b25429f691a0a9099fe
treef3f5f3526fa03e0f475535215ebb7502a44c3fb2
parenta3f686cf7cc14ff481b972b1170a7ff76d0e0fd0
Improve support for HTML entities in StyledText

This adds support for the non-breaking space character (&nbsp;) and properly
handling entities that do not end with a semicolon, such as a stray ampersand
in a text.

Change-Id: I2f157c9aa651b27511809d5a47ac07660949a290
Task-number: QTBUG-44869
Task-number: QTBUG-31816
Task-number: QTBUG-33368
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>
src/quick/util/qquickstyledtext.cpp
tests/auto/quick/qquickstyledtext/tst_qquickstyledtext.cpp