diff --git a/transforms/angle-brackets/transform.js b/transforms/angle-brackets/transform.js index 0e440bd58..bda11a461 100755 --- a/transforms/angle-brackets/transform.js +++ b/transforms/angle-brackets/transform.js @@ -254,10 +254,9 @@ function transformToAngleBracket(env, fileInfo, config) { } if (_valueType === 'PathExpression') { - _value = b.mustache(b.path(a.value)); + _value = b.mustache(a.value); } else if (_valueType === 'SubExpression') { if (a.value.hash.pairs.length > 0) { - // _value = b.mustache(a.value.path.original, a.value.params, a.value.hash); a.value.type = 'MustacheStatement'; _value = a.value; } else { @@ -488,13 +487,5 @@ function transformToAngleBracket(env, fileInfo, config) { return transformNode(node); } }, - - ElementNode(node) { - node.attributes.forEach(a => { - if (a.value && a.value.chars === '' && a.value.chars === _EMPTY_STRING_) { - a.value = b.text(_EMPTY_STRING_); - } - }); - }, }; }