Skip to content

Commit

Permalink
Allow h4 in html blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
Arthur Holstvoogd committed Nov 12, 2012
1 parent 359a864 commit 39d67d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/initializers/sanitize.rb
@@ -1,7 +1,7 @@
class Sanitize
module Config
CUSTOM = {
:elements => %w(img strong em p code pre tt sub sup br ul ol li abbr acronym a blockquote span h2 h3 abbr),
:elements => %w(img strong em p code pre tt sub sup br ul ol li abbr acronym a blockquote span h2 h3 h4 abbr),

:attributes => {
:all => %w(href title target lang xml:lang src alt width height)
Expand Down

0 comments on commit 39d67d1

Please sign in to comment.