Skip to content
Permalink
Browse files
chore(plugins/tidy-css): add comment re escape and replace purpose
  • Loading branch information
Fdawgs committed Dec 2, 2021
1 parent 4cb753b commit 64fad0cf07c90630b2ce7ccb70d9eff87cae9417
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/plugins/tidy-css/index.js
@@ -73,6 +73,7 @@ async function plugin(server) {
fonts.forEach((font) => {
if (/[^a-zA-Z-]+/.test(font.trim())) {
parsedFonts.push(
// Stop escaping of <style> elements and code injection
cssEsc(font.replace(/<\/style>/gm, "").trim(), {
quotes: "double",
wrap: true,

0 comments on commit 64fad0c

Please sign in to comment.