summaryrefslogtreecommitdiff
path: root/src/qdoc/clangcodeparser.cpp
diff options
context:
space:
mode:
authorAndy Shaw <andy.shaw@qt.io>2016-06-02 13:42:00 +0200
committerAndy Shaw <andy.shaw@qt.io>2018-01-12 14:54:04 +0000
commit22fb9b7613b05a4ced3af9af041869ad5fac5263 (patch)
treea7f9a8909718dcab336ce54ca5297382df4beadb /src/qdoc/clangcodeparser.cpp
parent9f3dba2ea3978936565aa5e7893415a8a765268e (diff)
downloadqttools-22fb9b7613b05a4ced3af9af041869ad5fac5263.tar.gz
Ensure that Nbsp characters are preserved by escaping them
Characters that are considered spaces, but aren't just ' ' should always be escaped so that the exact type of space that they are is preserved. Since QTextDocument::toPlainText() will convert QChar::Nbsp to ' ', we need to get the plain text from the handler directly and do our own conversion where applicable to stop it from replacing the Nbsp characters. Task-number: QTBUG-35652 Change-Id: I373edca92253ca5f978ba656c8ebbcaf77965e61 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'src/qdoc/clangcodeparser.cpp')
0 files changed, 0 insertions, 0 deletions