Comparing version 0.2.3 to 0.2.4
@@ -18,6 +18,7 @@ "use strict"; | ||
else { | ||
html += "<span class=\"line\">"; | ||
l.forEach(function (token) { | ||
html += "<span style=\"color: " + (token.color || options.fg) + "\">" + escapeHtml(token.content) + "</span>"; | ||
}); | ||
html += "\n"; | ||
html += "</span>\n"; | ||
} | ||
@@ -24,0 +25,0 @@ }); |
{ | ||
"name": "shiki", | ||
"version": "0.2.3", | ||
"version": "0.2.4", | ||
"description": "shiki", | ||
@@ -21,7 +21,7 @@ "keywords": [ | ||
"onigasm": "^2.2.1", | ||
"shiki-languages": "^0.2.3", | ||
"shiki-themes": "^0.2.3", | ||
"shiki-languages": "^0.2.4", | ||
"shiki-themes": "^0.2.4", | ||
"vscode-textmate": "^5.2.0" | ||
}, | ||
"gitHead": "f38397fc7febca59a09f4f3f39c072aca2001cc6" | ||
"gitHead": "d0ac866cdc511001162a3261b03f021357ad303e" | ||
} |
@@ -24,2 +24,3 @@ import { IThemedToken } from './themedTokenizer' | ||
} else { | ||
html += `<span class="line">` | ||
l.forEach(token => { | ||
@@ -30,3 +31,3 @@ html += `<span style="color: ${token.color || options.fg}">${escapeHtml( | ||
}) | ||
html += `\n` | ||
html += `</span>\n` | ||
} | ||
@@ -33,0 +34,0 @@ }) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
290905
2542
Updatedshiki-languages@^0.2.4
Updatedshiki-themes@^0.2.4