Skip to content

Commit a095867

Browse files
committed
fix: markdown text rendering
1 parent 9db553e commit a095867

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/datatip-manager.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ module.exports = class DatatipManager {
354354
*/
355355
async getDocumentationHtml(markdownText, grammarName) {
356356
if ((markdownText !== undefined) && (markdownText.length > 0)) {
357-
return this.renderer.render(`<p>${markdownText}</p>`, grammarName);
357+
return this.renderer.render(markdownText, grammarName);
358358
}
359359
return null;
360360
}

0 commit comments

Comments
 (0)