Commit 5823df3e authored by Waqar Ahmed's avatar Waqar Ahmed
Browse files

Html escape lsptooltip text



This is necessary as text like std::vector<int> can break the tooltip
very easily.
Signed-off-by: Waqar Ahmed's avatarWaqar Ahmed <waqar.17a@gmail.com>
(cherry picked from commit 9d83ff8f)
parent 1786b787
......@@ -39,7 +39,7 @@ public:
QString htext = text;
// we have to do this to handle soft line
htext.replace(QLatin1Char('\n'), QStringLiteral(" \n"));
setMarkdown(htext);
setMarkdown(htext.toHtmlEscaped());
resizeTip(text);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment