I have QString like "< foo & blah >" (no tags, only character data) and I want to unescape it. There is Qt::escape function in Qt namespace, yet no reverse counterpart for it.
So, how can I unescape XML string in Qt?
Specific requirement: it must be possible with Qt 4.7.3.
It looks like someone made an html entity decoder in an answer to an old post. If you don't mind introducing a new dependency, that might be a good solution.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With