Method: Rex::Text.html_decode

Defined in:
lib/rex/text.rb

.html_decode(str) ⇒ Object

Decode a string that’s html encoded



935
936
937
938
# File 'lib/rex/text.rb', line 935

def self.html_decode(str)
  decoded_str = CGI.unescapeHTML(str)
  return decoded_str
end