Revert "disabled: number highlighting in code block as it breaks html encoding"
This reverts commit 6e4a01b9c3
.
This commit is contained in:
parent
87f31a6a26
commit
40703c1764
3
main.js
3
main.js
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue