lib/so_meta/helper.rb in so_meta-0.9 vs lib/so_meta/helper.rb in so_meta-0.10
- old
+ new
@@ -17,9 +17,10 @@
end
def so_meta_interpolation(name, hash)
variable_name = "@so_meta_#{name}_interpolation"
interpolation = instance_variable_get(variable_name) || {}
+ hash.transform_values! { |v| html_escape(v) }
instance_variable_set(variable_name, interpolation.merge(hash))
end
end
end