Revert "disabled: number highlighting in code block as it breaks html encoding"

This reverts commit 6e4a01b9c3.
This commit is contained in:
quenousimporte 2023-10-19 09:09:39 +02:00
parent 87f31a6a26
commit 40703c1764
1 changed files with 1 additions and 2 deletions

View File

@ -2056,8 +2056,7 @@ function applycolors()
}
else if (code)
{
//breaks html escape
//line = line.replace(/\b(\d+)\b/g, "<span style='color:" + settings.accentcolor + "'>$1</span>");
line = line.replace(/\b(\d+)\b/g, "<span style='color:" + settings.accentcolor + "'>$1</span>");
if (languagekeywords[language])
{
var keywords = languagekeywords[language];