disabled: number highlighting in code block as it breaks html encoding
This commit is contained in:
parent
553c8a0701
commit
6e4a01b9c3
3
main.js
3
main.js
|
@ -2057,7 +2057,8 @@ function applycolors()
|
||||||
}
|
}
|
||||||
else if (code)
|
else if (code)
|
||||||
{
|
{
|
||||||
line = line.replace(/\b(\d+)\b/g, "<span style='color:" + settings.accentcolor + "'>$1</span>");
|
//breaks html escape
|
||||||
|
//line = line.replace(/\b(\d+)\b/g, "<span style='color:" + settings.accentcolor + "'>$1</span>");
|
||||||
if (languagekeywords[language])
|
if (languagekeywords[language])
|
||||||
{
|
{
|
||||||
var keywords = languagekeywords[language];
|
var keywords = languagekeywords[language];
|
||||||
|
|
Loading…
Reference in New Issue