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
and I get Hello
World in the attribute. I also tried using the raw flag for the Text and the { :raw => :all } context for the Element but that removes only a single amp;.
Am I missing something? How can I get to my desired output?
The text was updated successfully, but these errors were encountered:
abdulowork
changed the title
How to not escape ampersand the attribute of an element?
How to not escape ampersand in the attribute of an element?
Jun 8, 2020
Hi!
I am trying to create an element with attribute that looks like:
which I am doing the the following code:
and I get
Hello
World
in the attribute. I also tried using theraw
flag for theText
and the{ :raw => :all }
context for theElement
but that removes only a singleamp;
.Am I missing something? How can I get to my desired output?
The text was updated successfully, but these errors were encountered: