Sha256: 93a0714e66c5b0c44706c100e4f8890d6794c0b8969b8bae25920e2532e27747
Contents?: true
Size: 1.01 KB
Versions: 10
Compression:
Stored size: 1.01 KB
Contents
--HAML-- %input(type="submit" value=foo().bar) %input(type="submit" value=foo{}.bar) %input(type="submit" value=(foo ? bar : baz)) %input(type="submit" value=(foo or bar ? bar('foo\\bar\'bar') : baz(''))) %a(href="#" class=["foo", "bar", true ? "baz" : null]) %a{:href => "#", :class => ["foo", "bar", true ? "baz" : null]} --EXPECT-- root( tag(input attr(text(type)interpolated(text(submit))) attr(text(value)insert(foo().bar)) ) tag(input attr(text(type)interpolated(text(submit))) attr(text(value)insert(foo{}.bar)) ) tag(input attr(text(type)interpolated(text(submit))) attr(text(value)insert((foo ? bar : baz))) ) tag(input attr(text(type)interpolated(text(submit))) attr(text(value)insert((foo or bar ? bar('foo\\bar\'bar') : baz('')))) ) tag(a attr(text(href)interpolated(text(#))) attr(text(class)insert(["foo", "bar", true ? "baz" : null])) ) tag(a attr(text(href)interpolated(text(#))) attr(text(class)insert(["foo", "bar", true ? "baz" : null])) ) )
Version data entries
10 entries across 10 versions & 1 rubygems