Escape style values (#21356)

This commit is contained in:
Sebastian Markbåge
2021-04-26 18:46:36 -07:00
committed by GitHub
parent fc33f12bde
commit a2ae42db90
@@ -321,7 +321,9 @@ function pushStyle(
valueChunk = stringToChunk('' + styleValue);
}
} else {
valueChunk = stringToChunk(('' + styleValue).trim());
valueChunk = stringToChunk(
escapeTextForBrowser(('' + styleValue).trim()),
);
}
}
if (isFirst) {