Skip to content

Support for Inline Ruby Comments for when extracting Ruby code in herb_extract_ruby #101

Description

@marcoroth

In #98 we updated the herb_extract_ruby method to skip over ERB Comment Nodes (<%#), which works great.

However for this variation it doesn't work, since it's treated as a regular ERB Content Node which has a Ruby comment inside of it:

<% if true %><% # Comment here %><% end %> 

We should find a way to also skip over this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions