Skip to content

Commit

Permalink
Merge pull request #42 from imkmf/dev
Browse files Browse the repository at this point in the history
Add 'figure' tag to the HTML whitelist, closing #41
  • Loading branch information
flavorjones committed Jul 21, 2013
2 parents f10f602 + b0e9237 commit 825d715
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/loofah/html5/whitelist.rb
Expand Up @@ -47,7 +47,7 @@ module HTML5 # :nodoc:
module WhiteList
ACCEPTABLE_ELEMENTS = Set.new %w[a abbr acronym address area audio b big blockquote br
button caption center cite code col colgroup dd del dfn dir div dl dt
em fieldset font form h1 h2 h3 h4 h5 h6 hr i img input ins kbd label
em fieldset figure font form h1 h2 h3 h4 h5 h6 hr i img input ins kbd label
legend li map menu ol optgroup option p pre q s samp select small span
strike strong sub sup table tbody td textarea tfoot th thead tr tt u
ul var video]
Expand Down

0 comments on commit 825d715

Please sign in to comment.