davidwessman / syntax_tree-erb

Syntax Tree support for ERB
MIT License
21 stars 3 forks source link

v0.9.5 - Fixes formatting of ruby comment in ERB-tag #45

Closed davidwessman closed 1 year ago

davidwessman commented 1 year ago
<% # this is a comment %>

Output:

-<%
-
-  # this is a comment
-%>
+<% # this is a comment %>