lib/faml/html.rb in faml-0.8.0 vs lib/faml/html.rb in faml-0.8.1
- old
+ new
@@ -31,10 +31,10 @@
[:case, sym,
['true', true_attribute(name)],
['false, nil', [:multi]],
[:else, [:multi,
[:static, " #{name}=#{options[:attr_quote]}"],
- [:escape, true, [:dynamic, sym]],
+ [:dynamic, "::Temple::Utils.escape_html(#{sym})"],
[:static, options[:attr_quote]],
]],
],
]
else