-
-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Labels
Description
ERB Input:
<%= something do %>
Content
<% end %>Output:
plain something do
plain " Content"
endExpected output:
something do
plain " Content"
end@adamlogic experienced this in the GoRails Phlex episode: https://youtu.be/l4bQSfqZZfQ&t=1267
I'm not sure if this is actually solvable. Since the ERB is using <%= we expect to output the return value of the method call. If the ERB is just <% the output works as expected. Like:
<% something do %>
Content
<% end %>Outputs:
something { plain " Content" }