Skip to content

Html Sanitization

nricciar edited this page Jan 6, 2011 · 2 revisions

Allowed HTML Tags

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

Allowed Attributes

src, id, name, style, class, href, start, value, colspan, align, border, cellpadding, cellspacing, name, valign, color, rowspan, nowrap, title, rel, for

Github (MediaWiki Support)

Github does additional html sanitation of the WikiCloth html output. See http://github.com/github/gollum/blob/master/docs/sanitization.md for additional details.

Clone this wiki locally