stripWhitespace

This commit is contained in:
Kevin Schaaf
2018-10-26 18:11:35 -07:00
parent c421f08d2a
commit 09a6d1afda
+3 -3
View File
@@ -203,9 +203,9 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
if (!template._templateInfo) {
let templateInfo = template._templateInfo = {};
templateInfo.nodeInfoList = [];
templateInfo.stripWhiteSpace =
(outerTemplateInfo && outerTemplateInfo.stripWhiteSpace) ||
template.hasAttribute('strip-whitespace');
templateInfo.stripWhiteSpace = true;
// (outerTemplateInfo && outerTemplateInfo.stripWhiteSpace) ||
// template.hasAttribute('strip-whitespace');
this._parseTemplateContent(template, templateInfo, {parent: null});
}
return template._templateInfo;