lib/yaks-html.rb in yaks-html-0.9.0 vs lib/yaks-html.rb in yaks-html-0.10.0

- old
+ new

@@ -1,8 +1,8 @@ require 'hexp' require 'yaks' require 'yaks/format/html' -> do - unparser = Hexp::Unparser.new({}) - Yaks::Serializer.register(:html, ->(data, env) { unparser.call(data) }) + unparser = Hexp::Unparser.new(no_escape: [:script, :style]) + Yaks::Serializer.register(:html, ->(data, _env) { unparser.call(data) }) end.call