Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTML comments should become Clojure comments #3

Open
mtnygard opened this issue Nov 25, 2020 · 0 comments
Open

HTML comments should become Clojure comments #3

mtnygard opened this issue Nov 25, 2020 · 0 comments

Comments

@mtnygard
Copy link

Minimal test case

<p>
  <!-- This is a comment -->
</p>

outputs

[:p  "<!-- This is a comment -->" ]

The comment was converted into content, which is never the right answer. It would be more helpful to convert it to a Clojure comment, or if that would choke some of the templating systems, just drop the comment altogether.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant