Open luizkowalski opened 9 months ago
Hey, I have a rather complex form like this: https://gist.github.com/luizkowalski/6b90e9cf978927a6faca15258f7c7a24
this page was formatted using htmlbeautifier. When I try to format it with erb-formatter, it groups end together in a really weird way:
end
<%= tag.label class: "mt-1" do %> <%= t("messages.strength") %> <%= tag.span class: "ml-1 font-bold", data: { password_strength_target: "destination" } %> <% end %><% end %><%= tag.div class: "form-control mt-4 w-fit" do %> ... <% end %><% end %><%= tag.div class: "form-control mt-2" do %>
I'm using the following options: --stdin-filename", "{path}", "--print-width", "250
--stdin-filename", "{path}", "--print-width", "250
This is a legit bug, thanks for reporting! I'll look into it if I get a chance 👍
Hey, I have a rather complex form like this: https://gist.github.com/luizkowalski/6b90e9cf978927a6faca15258f7c7a24
this page was formatted using htmlbeautifier. When I try to format it with erb-formatter, it groups
end
together in a really weird way:I'm using the following options:
--stdin-filename", "{path}", "--print-width", "250