Method: Rex::Text.html_decode
- Defined in:
- lib/rex/text/encode.rb
.html_decode(str) ⇒ Object
Decode a string that’s html encoded
85 86 87 88 |
# File 'lib/rex/text/encode.rb', line 85 def self.html_decode(str) decoded_str = CGI.unescapeHTML(str) return decoded_str end |