Multi-line ERB tags get wrong formatting when the tags are misaligned
danielvlopes opened this issue · 0 comments
danielvlopes commented
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.