diff --git a/main.js b/main.js
index ed6af28..00b8576 100644
--- a/main.js
+++ b/main.js
@@ -2173,14 +2173,15 @@ function applycolors()
}
else if (code)
{
+ line = line.replace(/(\d+)/g, "$1");
if (languagekeywords[language])
{
var keywords = languagekeywords[language];
keywords.forEach(keyword =>
{
var r = new RegExp("(" + keyword + ")", "ig");
- line = line.replace(new RegExp("\\b(" + keyword + ")\\b", "ig"), "$1");
- })
+ line = line.replace(new RegExp("\\b(" + keyword + ")\\b", "ig"), "$1");
+ });
}
}