lib/softcover/sanitizer.rb in softcover-0.8.9 vs lib/softcover/sanitizer.rb in softcover-0.9.0
- old
+ new
@@ -27,10 +27,14 @@
'h3' => %w{id class},
'h4' => %w{id class},
'img' => %w{id class src alt},
'em' => %w{id class},
'code' => %w{id class},
- 'strong' => %w{id class}
+ 'strong' => %w{id class},
+ 'table' => %w{id class},
+ 'tbody' => %w{id class},
+ 'tr' => %w{id class},
+ 'td' => %w{id class}
},
protocols: {
'a' => {'href' => [:relative, 'http', 'https', 'mailto']},
'img' => {'src' => [:relative, 'http', 'https']}
},
\ No newline at end of file