Sha256: 8f8fa803f53f0514fcae79f8addb61faf1ef34bfb686011ab0eb12f32d3d0870
Contents?: true
Size: 580 Bytes
Versions: 14
Compression:
Stored size: 580 Bytes
Contents
# -*- encoding : utf-8 -*- # # tagz.rb can generate really compact html. this is great to save bandwidth # but can sometimes make reading the generated html a bit rough. of course # using tidy or the dom inspector in firebug obviates the issue; nevertheless # it's sometime nice to break things up a little. you can use 'tagz << "\n"' # or the special shorthand '__' or '___' to accomplish this # require 'tagz' include Tagz.globally html = div_{ span_{ true } __ span_{ false } # hey ryan, i fixed this ;-) ___ ___ 'foo & escaped bar' } puts html
Version data entries
14 entries across 14 versions & 1 rubygems