Quellcode durchsuchen

fixed quotes issue

Former-commit-id: cecbd9308701fb4adf93eb66546a6f164fd1b56e
Gildas vor 6 Jahren
Ursprung
Commit
fe8e79fbbf
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      lib/single-file/modules/html-serializer.js

+ 1 - 1
lib/single-file/modules/html-serializer.js

@@ -116,7 +116,7 @@ this.singlefile.lib.modules.serializer = this.singlefile.lib.modules.serializer
 			Array.from(element.attributes).forEach(attribute => content += serializeAttribute(attribute, element, compressHTML));
 			content += ">";
 		}
-		Array.from(element.childNodes).forEach(childNode => content += serialize(childNode));
+		Array.from(element.childNodes).forEach(childNode => content += serialize(childNode, compressHTML));
 		const omittedEndTag = compressHTML && OMITTED_END_TAGS.find(omittedEndTag => tagName == omittedEndTag.tagName && omittedEndTag.accept(element.nextSibling, element));
 		if (!omittedEndTag && !SELF_CLOSED_TAG_NAMES.includes(tagName)) {
 			content += "</" + tagName + ">";