Commit 6224b611 authored by Karthik Nishanth's avatar Karthik Nishanth
Browse files

lsp: Do not HTML escape markdown text

HTML escaping escapes symbols like `>` in markdown code blocks
and inline code snippets. This breaks the tooltip contents and
renders `>` instead of `>`.

Fixes #43
parent 6193824f
Pipeline #115347 failed with stage
in 3 minutes and 48 seconds
......@@ -41,7 +41,7 @@ public:
QString htext = text;
// we have to do this to handle soft line
htext.replace(QLatin1Char('\n'), QStringLiteral(" \n"));
setMarkdown(htext.toHtmlEscaped());
setMarkdown(htext);
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