Fix being able to break out of the parser
This commit is contained in:
@@ -23,7 +23,7 @@ void Content::parseCrabcontent(const QString &input)
|
|||||||
{
|
{
|
||||||
if (line.startsWith("text:"))
|
if (line.startsWith("text:"))
|
||||||
{
|
{
|
||||||
result += "<p>" + line.mid(5).trimmed() + "</p>\n";
|
result += "<p>" + line.mid(5).trimmed().toHtmlEscaped() + "</p>\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user