Sha256: ad4a20445d23d209ce92a7b4750d4de0955c7f6c85bbb30b335c1b1d6e536240

Contents?: true

Size: 1.52 KB

Versions: 7

Compression:

Stored size: 1.52 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}/

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
radiant-0.7.2 vendor/plugins/haml/test/haml/templates/just_stuff.haml
haml-2.0.2 test/haml/templates/just_stuff.haml
haml-2.0.1 test/haml/templates/just_stuff.haml
radiant-0.6.9 vendor/plugins/haml/test/haml/templates/just_stuff.haml
radiant-0.6.8 vendor/plugins/haml/test/haml/templates/just_stuff.haml
radiant-0.7.0 vendor/plugins/haml/test/haml/templates/just_stuff.haml
radiant-0.7.1 vendor/plugins/haml/test/haml/templates/just_stuff.haml