Sha256: acaa96f7caeb65bf11e1919ae0051e828bdd454e5d7f97b7898e4d1639e65345

Contents?: true

Size: 1.56 KB

Versions: 249

Compression:

Stored size: 1.56 KB

Contents

!!! XML
!!! XML ISO-8859-1
!!! XML UtF-8 Foo bar
!!!
!!! 1.1
!!! 1.1 Strict
!!! Strict foo bar
!!! FRAMESET
%strong{:apos => "Foo's bar!"} Boo!
== Embedded? false!
== Embedded? #{true}!
- embedded = true
== Embedded? #{embedded}!
== Embedded? #{"twice! #{true}"}!
== Embedded? #{"one"} af"t"er #{"another"}!
%p== Embedded? false!
%p== Embedded? #{true}!
- embedded = true
%p== Embedded? #{embedded}!
%p== Embedded? #{"twice! #{true}"}!
%p== Embedded? #{"one"} af"t"er #{"another"}!
= "stuff followed by whitespace"
  
- if true

  %strong block with whitespace
%p
  \Escape
  \- character
  \%p foo
  \yee\ha
/ Short comment
/
  This is a block comment
  cool, huh?
  %strong there can even be sub-tags!
  = "Or script!"
-# Haml comment
-#
  Nested Haml comment
  - raise 'dead'
%p{ :class => "" } class attribute should appear!
%p{ :gorbachev => nil } this attribute shouldn't appear
/[if lte IE6] conditional comment!
/[if gte IE7]
  %p Block conditional comment
  %div
    %h1 Cool, eh?
/[if gte IE5.2]
  Woah a period.
= "test" |
  "test" |
-# Hard tabs shouldn't throw errors.
	
- case :foo
- when :bar
  %br Blah
- when :foo
  %br
- case :foo
  - when :bar
    %meta{ :foo => 'blah'}
  - when :foo
    %meta{ :foo => 'bar'}
%img
%hr
%link
%script Inline content
%br
  Nested content
%p.foo{:class => true ? 'bar' : 'baz'}[@article] Blah
%p.foo{:class => false ? 'bar' : ''}[@article] Blah
%p.qux{:class => 'quux'}[@article] Blump
== #{"Woah inner quotes"}
%p.dynamic_quote{:quotes => "single '", :dyn => 1 + 2}
%p.dynamic_self_closing{:dyn => 1 + 2}/
%body
  :plain
    hello
  %div

    %img

Version data entries

249 entries across 248 versions & 14 rubygems

Version Path
gohanlonllc-haml-2.1.0.20080513000000 test/haml/templates/just_stuff.haml
gohanlonllc-haml-2.1.0 test/haml/templates/just_stuff.haml
honkster-haml-2.1.0 test/haml/templates/just_stuff.haml
honkster-haml-2.1.1 test/haml/templates/just_stuff.haml
jwhitmire-haml-2.1.0.1 test/haml/templates/just_stuff.haml
jwhitmire-haml-2.1.0.2 test/haml/templates/just_stuff.haml
jwhitmire-haml-2.1.0.3 test/haml/templates/just_stuff.haml
wireframe-haml-2.1.0 test/haml/templates/just_stuff.haml
wireframe-haml-2.1.1 test/haml/templates/just_stuff.haml
radiantcms-couchrest_model-0.2.4 vendor/plugins/haml/test/haml/templates/just_stuff.haml
radiantcms-couchrest_model-0.2.2 vendor/plugins/haml/test/haml/templates/just_stuff.haml
radiantcms-couchrest_model-0.2.1 vendor/plugins/haml/test/haml/templates/just_stuff.haml
radiantcms-couchrest_model-0.2 vendor/plugins/haml/test/haml/templates/just_stuff.haml
radiantcms-couchrest_model-0.1.9 vendor/plugins/haml/test/haml/templates/just_stuff.haml
radiantcms-couchrest_model-0.1.8 vendor/plugins/haml/test/haml/templates/just_stuff.haml
radiantcms-couchrest_model-0.1.7 vendor/plugins/haml/test/haml/templates/just_stuff.haml
radiantcms-couchrest_model-0.1.6 vendor/plugins/haml/test/haml/templates/just_stuff.haml
radiantcms-couchrest_model-0.1.5 vendor/plugins/haml/test/haml/templates/just_stuff.haml
radiantcms-couchrest_model-0.1.4 vendor/plugins/haml/test/haml/templates/just_stuff.haml
radiant-0.9.1 vendor/plugins/haml/test/haml/templates/just_stuff.haml