This repository was archived by the owner on Apr 4, 2019. It is now read-only.
This repository was archived by the owner on Apr 4, 2019. It is now read-only.
Peculiar Treatment of Comments #465
Open
Description
I noticed something peculiar about the way htmlbars is treating comments; however, I am not sure if it is a bug or by design. I first noticed this when I commented out the link-to beginning and end tags around a line of code like so:
<!-- {{#link-to 'group' group}} -->
{{group.name}}
<!-- {{/link-to}} -->
When I went to look at the live preview, I expected to see the group names; instead I didn't see them and when I inspected the page, I saw this. It seems like htmlbars is treating the two separate comments as one large comment and ignoring the content between them. This is not a big deal since it's easily fixed by moving the {{group.name}}
line before the commented out link-to
statement (like so) but I thought I'd post it here, just in case.
Activity