lib/softcover/sanitizer.rb in softcover-1.0.beta7 vs lib/softcover/sanitizer.rb in softcover-1.0.beta8
- old
+ new
@@ -14,10 +14,10 @@
elements: %w{div span p a ul ol li h1 h2 h3 h4
pre em sup table tbody thead tr td img code strong},
remove_contents: %w{script},
attributes: {
'div' => %w{id class data-tralics-id data-number data-chapter},
- 'a' => %w{id class href},
+ 'a' => %w{id class href target},
'span' => %w{id class style},
'ol' => %w{id class},
'ul' => %w{id class},
'li' => %w{id class},
'sup' => %w{id class},
\ No newline at end of file