confused by multiline comments containing syntax
josharian opened this issue · comments
{{/* {{ range $attr := .Attrs }}
{{ end }} */}}
This causes a spurious error:
Error: Encountered unexpected end keyword.
This also happens for comments in other contexts. I also ran across this breakage:
{{ if .B }}
{{/* if */}}
{{ end }}
yields:
Error: Missing end block.