Convert & to & for HTML decoder

Differential Revision: https://phabricator.kde.org/D11956
wilder-portage
Martin T. H. Sandsmark 8 years ago committed by Kurt Hindenburg
parent 24a7726ee0
commit d93aba545b
  1. 2
      src/TerminalCharacterDecoder.cpp

@ -268,6 +268,8 @@ void HTMLDecoder::decodeLine(const Character* const characters, int count, LineP
text.append(QLatin1String("<")); text.append(QLatin1String("<"));
} else if (ch == QLatin1Char('>')) { } else if (ch == QLatin1Char('>')) {
text.append(QLatin1String(">")); text.append(QLatin1String(">"));
} else if (ch == QLatin1Char('&')) {
text.append(QLatin1String("&"));
} else { } else {
text.append(ch); text.append(ch);
} }

Loading…
Cancel
Save