Unescaping HTML text in Qt/QML
QtQueries last edited by
I have some QML Text objects which contain HTML escaped text. How can I obtain the plain, unformatted version of this text? Looking really for the opposite of Qt.escape().
I have tried creating a QTextDocument, setting the escaped text with setHtml, then calling toPlainText(). This successfully removes HTML tags however, escaped text such as & ldquo; gets replaced with ?s.
task_struct last edited by