if trusted, don't include comment highlights,
if untrusted, include comment highlights.
This commit is contained in:
Henning Dieterichs 2021-11-30 16:10:10 +01:00
parent 257657fb23
commit 16b9fc761b
No known key found for this signature in database
GPG key ID: 771381EFFDB9EC06

View file

@ -191,14 +191,14 @@ function resolveOptions(trusted: boolean, options: InternalUnicodeHighlightOptio
nonBasicASCII: false,
ambiguousCharacters: true,
invisibleCharacters: true,
includeComments: true,
includeComments: false,
};
} else {
defaults = {
nonBasicASCII: true,
ambiguousCharacters: true,
invisibleCharacters: true,
includeComments: false,
includeComments: true,
};
}