diff --git a/src/TerminalCharacterDecoder.cpp b/src/TerminalCharacterDecoder.cpp index 57e3aa2b..ffcb8e61 100644 --- a/src/TerminalCharacterDecoder.cpp +++ b/src/TerminalCharacterDecoder.cpp @@ -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); }