lib/trac-wiki/tree.rb in trac-wiki-0.3.30 vs lib/trac-wiki/tree.rb in trac-wiki-0.3.31
- old
+ new
@@ -151,9 +151,10 @@
:form, :textarea, :input, :select, :option, :label,
]
TAGS_SKIP_EMPTY = [ :p , :ol, :li, :strong, :em ]
ATTRIBUTES_ALLOWED = { :form => [:action, :method],
:input => [:size, :type, :value, :name],
+ :textarea => [:name, :rows, :cols],
:select => [:multiple, :name],
:option => [:disabled, :selected, :label, :value, :name],
:a => [:name, :href],
:img => [:src, :width, :height, :align, :valign, :style, :alt, :title],
:td => [:colspan, :rowspan, :style],