diff --git a/src/TerminalCharacterDecoder.cpp b/src/TerminalCharacterDecoder.cpp
index e1d49fc3..29172600 100644
--- a/src/TerminalCharacterDecoder.cpp
+++ b/src/TerminalCharacterDecoder.cpp
@@ -150,6 +150,16 @@ void HTMLDecoder::begin(QTextStream* output)
QString text;
+ text.append("\n");
+ text.append("\n");
+ text.append("
\n");
+ text.append("Konsole output\n");
+ text.append("\n");
+ text.append("\n");
+ text.append("\n");
+ text.append("\n");
+
//open monospace span
openSpan(text, "font-family:monospace");
@@ -163,6 +173,9 @@ void HTMLDecoder::end()
QString text;
closeSpan(text);
+ text.append("
\n");
+ text.append("\n");
+ text.append("\n");
*_output << text;
@@ -257,7 +270,7 @@ void HTMLDecoder::decodeLine(const Character* const characters, int count, LineP
}
//start new line
- text.append("
");
+ text.append("
");
*_output << text;
}