I have text stored as escaped html tags: “Overview
<br><br> Keynote�s”
Is there a way to un-escape all the html tags? I found rails functions
that can escape the tags but I haven’t found anything to go back
easily.
tommy
I have text stored as escaped html tags: “Overview
<br><br> Keynote�s”
Is there a way to un-escape all the html tags? I found rails functions
that can escape the tags but I haven’t found anything to go back
easily.
tommy
wheels wrote:
I have text stored as escaped html tags: “Overview
<br><br> Keynote�s”
Is there a way to un-escape all the html tags? I found rails functions
that can escape the tags but I haven’t found anything to go back
easily.
tommy
check out google for the keyword ‘unescape’ . either way →
http://www.ruby-doc.org/stdlib/libdoc/cgi/rdoc/classes/CGI.html#M000095
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs