prettier-plugin-eex
prettier-plugin-eex copied to clipboard
An eex do ... end within inline content is incorrectly formatted
This input:
<%= link to: "foo" do %>
bla
<% end %> .
Formats to this:
<%= link to: "foo" do %>
bla
<% end %>
.
But this input (note lack of space before .):
<%= link to: "foo" do %>
bla
<% end %>.
Is incorrectly formatted to:
<%= link to: "foo" do %>
bla </eext1
>.