Module RedCloth::Formatters::HTML
In: lib/redcloth/formatters/html.rb

Methods

acronym   after_transform   amp   arrow   bc_close   bc_open   before_transform   bq_close   bq_open   br   caps   clean_html   copyright   del   del_phrase   dim   dl_close   dl_open   ellipsis   emdash   endash   entity   escape   escape_pre   fn   footno   gt   html   html_block   ignored_line   image   inline_html   li_close   li_open   link   lt   notextile   quot   quote1   quote2   registered   snip   squot   table_close   table_open   td   tr_close   tr_open   trademark   urlesc  

Included Modules

RedCloth::Formatters::Base

Constants

LINK_TEXT_WITH_TITLE_RE = / ([^"]+?) # $text \s? \(([^)]+?)\) # $title $ /x
BASIC_TAGS = { 'a' => ['href', 'title'], 'img' => ['src', 'alt', 'title'], 'br' => [], 'i' => nil, 'u' => nil, 'b' => nil, 'pre' => nil, 'kbd' => nil, 'code' => ['lang'], 'cite' => nil, 'strong' => nil, 'em' => nil, 'ins' => nil, 'sup' => nil, 'sub' => nil, 'del' => nil, 'table' => nil, 'tr' => nil, 'td' => ['colspan', 'rowspan'], 'th' => nil, 'ol' => ['start'], 'ul' => nil, 'li' => nil, 'p' => nil, 'h1' => nil, 'h2' => nil, 'h3' => nil, 'h4' => nil, 'h5' => nil, 'h6' => nil, 'blockquote' => ['cite'], 'notextile' => nil   HTML cleansing stuff

Public Instance methods

escapement for regular HTML (not in PRE tag)

escapement for HTML in a PRE tag

[Validate]