Fix being able to break out of the parser

This commit is contained in:
2026-01-13 15:13:20 -07:00
parent a4d7484952
commit efb32eb0f7

View File

@@ -23,7 +23,7 @@ void Content::parseCrabcontent(const QString &input)
{
if (line.startsWith("text:"))
{
result += "<p>" + line.mid(5).trimmed() + "</p>\n";
result += "<p>" + line.mid(5).trimmed().toHtmlEscaped() + "</p>\n";
}
}