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

Comments that don't have a space between percent and number (pound/hash) sign get ignored #71

Open
linuscorin opened this issue Nov 15, 2016 · 0 comments

Comments

@linuscorin
Copy link

Comments that don't have a space between "%" and "#" get ignored.

Example input:

<%# A comment WITHOUT a space after percent sign - this gets ignored %>
<% # A comment WITH a space after percent sign - this gets converted to HAML %>

Output of html2haml from the above:

- # A comment WITH a space after percent sign - this gets converted to HAML

Tested with html2haml 2.0.0 and ruby 2.3.1p112

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