single-file-core 1.0.11 → 1.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "single-file-core",
3
- "version": "1.0.11",
3
+ "version": "1.0.12",
4
4
  "description": "SingleFile Core",
5
5
  "author": "Gildas Lormeau",
6
6
  "license": "AGPL-3.0-or-later",
@@ -1081,7 +1081,7 @@ class Processor {
1081
1081
  if (element.tagName == "LINK") {
1082
1082
  stylesheet = await ProcessorHelper.resolveLinkStylesheetURLs(element.href, baseURI, options, workStyleElement);
1083
1083
  } else {
1084
- stylesheet = cssTree.parse(element.textContentcd, { context: "stylesheet", parseCustomProperty: true });
1084
+ stylesheet = cssTree.parse(element.textContent, { context: "stylesheet", parseCustomProperty: true });
1085
1085
  const importFound = await ProcessorHelper.resolveImportURLs(stylesheet, baseURI, options, workStyleElement);
1086
1086
  if (importFound) {
1087
1087
  stylesheet = cssTree.parse(cssTree.generate(stylesheet), { context: "stylesheet", parseCustomProperty: true });