Class WikiCloth::WikiBuffer::HTMLElement
In: lib/wikicloth/wiki_buffer/html_element.rb
Parent: WikiBuffer

Methods

Constants

ALLOWED_ELEMENTS = ['a','b','i','img','div','span','sup','sub','strike','s','u','font','big','ref','tt','del', 'small','blockquote','strong','pre','code','references','ol','li','ul','dd','dt','dl','center', 'h1','h2','h3','h4','h5','h6','p','table','tr','td','th','tbody','thead','tfoot','abbr','del','ins','em']
ALLOWED_ATTRIBUTES = ['src','id','name','style','class','href','start','value','colspan','align','border', 'cellpadding','cellspacing','name','valign','color','rowspan','nowrap','title','rel','for']
ESCAPED_TAGS = [ 'nowiki','pre','code' ]
SHORT_TAGS = [ 'meta','br','hr']
NO_NEED_TO_CLOSE = ['li','p'] + SHORT_TAGS
DISABLE_GLOBALS_FOR = ESCAPED_TAGS

Public Class methods

Public Instance methods

Protected Instance methods

[Validate]