lib/trac-wiki/tree.rb in trac-wiki-0.3.44 vs lib/trac-wiki/tree.rb in trac-wiki-0.3.45
- old
+ new
@@ -141,9 +141,10 @@
TAGS_APPEND_NL = [:div, :p, :li, :ol, :ul, :dl, :table, :tr, :td , :th]
TAGS_FORCE_PAIR = [:a, :td, :h1, :h2, :h3, :h4, :h5, :h6, :div, :script, :i]
TAGS_ALLOVED = [:a,
+ :button,
:h1, :h2, :h3, :h4, :h5, :h6,
:div, :span, :p, :pre,
:li, :ul, :ol, :dl, :dt, :dd,
:b, :tt, :u, :del, :blockquote, :strong, :em, :sup, :sub, :i,
:table, :tr, :td, :th,