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
When using a combination of a conditional and pairs of literal quotes (ie. both “” and ‘’), erb-formatter will delete part of the content:
<% if named? %>
The folder “<%= name %>” will be deleted.
<% end %>
Becomes:
<% if named? %>
The folder “<%= name %>will be deleted.
<% end %>
And it gets worse when you also include a elsif clause, so it looks like an indexing problem when attempting to move the <%= name %> expression to a separate line.
The workaround is to use character entities:
<% if named? %>
The folder “<%= name %>” will be deleted.
<% end %>
The text was updated successfully, but these errors were encountered:
When using a combination of a conditional and pairs of literal quotes (ie. both “” and ‘’), erb-formatter will delete part of the content:
Becomes:
And it gets worse when you also include a
elsif
clause, so it looks like an indexing problem when attempting to move the<%= name %>
expression to a separate line.The workaround is to use character entities:
The text was updated successfully, but these errors were encountered: