Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit cd67c348 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

(cherry picked from commit d93aba54)
parent b7f40e0f
......@@ -265,6 +265,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