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
On our project, we'll often break our ERB tags into multiple lines to avoid long lines, and whenever an erb tag is not indented properly in the parent HTML tag, when htmlbeautifier is triggered, it will fix the opening of the tag but leave the following lines untouched, creating a misaligned tag.
Is this the expected behavior? Here's a GIF showing the scenario:
Thank you.
The text was updated successfully, but these errors were encountered:
danielvlopes
changed the title
Multi-line ERB tags get wrong formatting when the tags is misaligned
Multi-line ERB tags get wrong formatting when the tags are misaligned
May 19, 2022
Hi there,
On our project, we'll often break our ERB tags into multiple lines to avoid long lines, and whenever an erb tag is not indented properly in the parent HTML tag, when htmlbeautifier is triggered, it will fix the opening of the tag but leave the following lines untouched, creating a misaligned tag.
Is this the expected behavior? Here's a GIF showing the scenario:
Thank you.
The text was updated successfully, but these errors were encountered: