Let's say I have:
@string = "it is a <a href="#">string</a>"
I want to use it in different parts of my application in two ways:
The first one can be done using html_safe
:
@string.html_safe
It is a string
How can I achieve the second one?
It is a string.