module HTML

Defined in:

html.cr

Constant Summary

SUBSTITUTIONS = {'!' => "&#33;", '"' => "&quot;", '$' => "&#36;", '%' => "&#37;", '&' => "&amp;", '\'' => "&#39;", '(' => "&#40;", ')' => "&#41;", '=' => "&#61;", '>' => "&gt;", '<' => "&lt;", '+' => "&#43;", '@' => "&#64;", '[' => "&#91;", ']' => "&#93;", '`' => "&#96;", '{' => "&#123;", '}' => "&#125;", ' ' => "&nbsp;"}

Class Method Summary

Class Method Detail

def self.escape(string : String) : String #

[View source]
def self.escape(string : String, io : IO) #

[View source]
def self.unescape(string : String) #

[View source]