Commit d93aba54 authored by Martin Tobias Holmedahl Sandsmark's avatar Martin Tobias Holmedahl Sandsmark Committed by Kurt Hindenburg

Convert & to & for HTML decoder

Differential Revision: https://phabricator.kde.org/D11956
parent 24a7726e
......@@ -268,6 +268,8 @@ void HTMLDecoder::decodeLine(const Character* const characters, int count, LineP
text.append(QLatin1String("<"));
} else if (ch == QLatin1Char('>')) {
text.append(QLatin1String(">"));
} else if (ch == QLatin1Char('&')) {
text.append(QLatin1String("&"));
} else {
text.append(ch);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment