Sha256: d1fed816502801898cea2679f0ec575281b32d97569ef591b8976823f9925920

Contents?: true

Size: 210 Bytes

Versions: 4

Compression:

Stored size: 210 Bytes

Contents

require 'hexp'
require 'yaks'
require 'yaks/format/html'

-> do
  unparser = Hexp::Unparser.new(no_escape: [:script, :style])
  Yaks::Serializer.register(:html, ->(data, _env) { unparser.call(data) })
end.call

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
yaks-html-0.13.0 lib/yaks-html.rb
yaks-html-0.12.0 lib/yaks-html.rb
yaks-html-0.11.0 lib/yaks-html.rb
yaks-html-0.10.0 lib/yaks-html.rb