diff --git a/src/providers/completion.ts b/src/providers/completion.ts index 928cd56..7472be3 100644 --- a/src/providers/completion.ts +++ b/src/providers/completion.ts @@ -44,7 +44,7 @@ async function directives(name:string):Promise { const allows = await accessModifiers(); items = allows.map(a => { const i = new CompletionItem(a.name, CompletionItemKind.Keyword); - i.documentation = a.about; + i.documentation = sanitize(a.about); return i; }); }