module CodeRay::ForRedCloth
def unescape(html) # :nodoc:
def unescape(html) # :nodoc: replacements = { '&' => '&', '"' => '"', '>' => '>', '<' => '<', } html.gsub(/&(?:amp|quot|[gl]t);/) { |entity| replacements[entity] } end
def unescape(html) # :nodoc: replacements = { '&' => '&', '"' => '"', '>' => '>', '<' => '<', } html.gsub(/&(?:amp|quot|[gl]t);/) { |entity| replacements[entity] } end