bamboo-soy icon indicating copy to clipboard operation
bamboo-soy copied to clipboard

Support element composition parsing

Open nonplus opened this issue 3 years ago • 0 comments

https://github.com/google/closure-templates/blob/master/documentation/reference/element-composition.md

{template example2 kind="html<div>"}
  <{example3()}></> // Element composition call
{/template}

Right now there is a parsing error on </>: Closing tag matches nothing.

FWIW, this error might be coming from the underlying (IntelliJ) HTML template data language. No parsing error is reported if the composition tag is closed with </{}>, but that's not valid soy.

nonplus avatar Feb 05 '21 20:02 nonplus