1
0
mirror of https://github.com/bobwen-dev/react-templates synced 2025-04-12 00:56:39 +02:00

trim some trailing spaces

This commit is contained in:
Antonino Porcino 2016-08-15 12:22:07 +02:00 committed by ido
parent 12998d1022
commit d853510890

View File

@ -427,7 +427,7 @@ function convertHtmlToReact(node, context) {
if (node.name === virtualNode) { //eslint-disable-line wix-editor/prefer-ternary
data.body = `[${_.compact(children).join(',')}]`;
} else {
data.body = _.template(getTagTemplateString(!hasNonSimpleChildren(node), reactSupport.shouldUseCreateElement(context)))(data);
data.body = _.template( getTagTemplateString(!hasNonSimpleChildren(node), reactSupport.shouldUseCreateElement(context)))(data);
}
if (node.attribs[scopeAttr]) {