Skip to content

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

@linuscorin

Description

@linuscorin

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions