You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My code base had a few places where html had been temporarily commented out using syntax like so:
<%# See bug #1234 <tr> <td>etc</td> <td>etc</td> <td>etc</td> </tr>%>
I don't want the comments to be formatted (other than perhaps indentation if they are multiline). But erb-format misinterpreted the comments and seemed to get confused, treating the commented tags as real tags.
The text was updated successfully, but these errors were encountered:
My apologies that this is just a simple "post and run" issue. Based on a quick skim of the codebase, I found it quite readable, and I'm sure I could post a PR for this... but I don't have time for it at the moment (and I worked around the issue by simply deleting the comments!)
nevans
changed the title
Handle erb comments
Handle multiline erb comments
Mar 28, 2023
My code base had a few places where html had been temporarily commented out using syntax like so:
I don't want the comments to be formatted (other than perhaps indentation if they are multiline). But erb-format misinterpreted the comments and seemed to get confused, treating the commented tags as real tags.
The text was updated successfully, but these errors were encountered: