Gildas 7 лет назад
Родитель
Сommit
a44b07e08a
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      lib/single-file/serializer.js

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

@@ -78,7 +78,7 @@ this.serializer = this.serializer || (() => {
 			}
 			}
 			value = value.replace(/&/g, "&").replace(/\u00a0/g, " ").replace(/"/g, """);
 			value = value.replace(/&/g, "&").replace(/\u00a0/g, " ").replace(/"/g, """);
 			const validUnquotedValue = value.match(/^[^ \t\n\f\r"'`=<>]+$/);
 			const validUnquotedValue = value.match(/^[^ \t\n\f\r"'`=<>]+$/);
-			content += " "; //+ attribute.name + "=";
+			content += " ";
 			if (!attribute.namespace) {
 			if (!attribute.namespace) {
 				content += attribute.name;
 				content += attribute.name;
 			} else if (attribute.namespaceURI == "http://www.w3.org/XML/1998/namespace") {
 			} else if (attribute.namespaceURI == "http://www.w3.org/XML/1998/namespace") {