Method: String#encode_html

Defined in:
lib/extend_string.rb

#encode_htmlObject

Escape the string to be shown into an HTML screen. Then it makes it compatible with UTF-8. More details here: bitbucket.org/leandro_sardi/blackstack/issues/961



121
122
123
# File 'lib/extend_string.rb', line 121

def encode_html()
  BlackStack::Strings::Encoding::encode_html(self.to_s)    
end