nebulab / erb-formatter

Format ERB files with speed and precision
MIT License
135 stars 22 forks source link

Fix error on != within script tag #50

Open tmgemedia opened 5 months ago

tmgemedia commented 5 months ago

Added exclamation point as exception for attr name matching (i.e does not match "!="), so that the javascript "!=" operator is not flagged as a tag attribute.

elia commented 2 months ago

Hey @tmgemedia I tried creating a failing test that gets solved by this PR but couldn't, can you please provide some code that brakes the formatter?