Skip to content

Commit

Permalink
HV-957 Updating SafeHtml.WhiteListType documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
khalidq committed Jan 27, 2015
1 parent 9455231 commit 88c6d44
Showing 1 changed file with 5 additions and 4 deletions.
Expand Up @@ -104,8 +104,8 @@ public enum WhiteListType {

/**
* This whitelist allows a fuller range of text nodes:
* <code>a, b, blockquote, br, cite, code, dd, dl, dt, em, i, li, ol, p, pre, q, small, strike, strong, sub, sup, u, ul</code>
* , and appropriate attributes.
* <code>a, b, blockquote, br, cite, code, dd, dl, dt, em, i, li, ol, p, pre, q, small, span, strike, strong, sub,
* sup, u, ul</code>, and appropriate attributes.
* <p>
* Links (<code>a</code> elements) can point to <code>http, https, ftp, mailto</code>, and have an enforced
* <code>rel=nofollow</code> attribute.
Expand All @@ -124,8 +124,9 @@ public enum WhiteListType {

/**
* This whitelist allows a full range of text and structural body HTML:
* <code>a, b, blockquote, br, caption, cite, code, col, colgroup, dd, dl, dt, em, h1, h2, h3, h4, h5, h6, i, img, li,
* ol, p, pre, q, small, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, u, ul</code>
* <code>a, b, blockquote, br, caption, cite, code, col, colgroup, dd, div, dl, dt, em, h1, h2, h3, h4, h5, h6,
* i, img, li, ol, p, pre, q, small, span, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, u,
* ul</code>
* <p>
* Links do not have an enforced <code>rel=nofollow</code> attribute, but you can add that if desired.
* </p>
Expand Down

0 comments on commit 88c6d44

Please sign in to comment.