module HTML

Defined in:

html.cr

Constant Summary

SUBSTITUTIONS = {'&' => "&amp;", '"' => "&quot;", '\'' => "&apos;", '<' => "&lt;", '>' => "&gt;"}

Class Method Summary

Class Method Detail

def self.escape(string : String) #

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

[View source]