Commit 541928fd authored by Karthik Nishanth's avatar Karthik Nishanth Committed by Waqar Ahmed
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

(cherry picked from commit 6224b611)
parent bc5d3294
Pipeline #116592 passed with stage
in 6 minutes and 39 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);
}
......
Supports Markdown
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