lib/sinatra-footnotes/notes/abstract_note.rb in sinatra-footnotes-0.1.3 vs lib/sinatra-footnotes/notes/abstract_note.rb in sinatra-footnotes-0.1.4
- old
+ new
@@ -160,10 +160,10 @@
# to the generated table.
#
def mount_table_for_hash(hash, options={})
rows = []
hash.each do |key, value|
- rows << [ key.to_sym.inspect, escape(value.inspect) ]
+ rows << [ escape(key.inspect), escape(value.inspect) ]
end
mount_table(rows.unshift(['Name', 'Value']), {:class => 'name_value'}.merge(options))
end
def hash_to_xml_attributes(hash)