How do I escape the ERB tag in ERB How do I escape the ERB tag in ERB ruby-on-rails ruby-on-rails

How do I escape the ERB tag in ERB


Add a second % to the opening tag:

label:    body: "<%%= variable %>"

The <%% sequence is valid ERB, rendered as a literal <%.