Skip to content

Commit e55efa0

Browse files
committed
Disable auto strip-whitespace on template with legacyOptimizations
2.x version of #5470
1 parent d1f36d8 commit e55efa0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/mixins/template-stamp.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@
204204
if (!template._templateInfo) {
205205
let templateInfo = template._templateInfo = {};
206206
templateInfo.nodeInfoList = [];
207-
templateInfo.stripWhiteSpace = Polymer.legacyOptimizations ||
207+
templateInfo.stripWhiteSpace =
208208
(outerTemplateInfo && outerTemplateInfo.stripWhiteSpace) ||
209209
template.hasAttribute('strip-whitespace');
210210
this._parseTemplateContent(template, templateInfo, {parent: null});

0 commit comments

Comments
 (0)