2006-11-08 01:54:26 +00:00
|
|
|
!!! XML
|
|
|
|
!!! XML ISO-8859-1
|
|
|
|
!!! XML UtF-8 Foo bar
|
2006-10-27 20:36:34 +00:00
|
|
|
!!!
|
|
|
|
!!! 1.1
|
|
|
|
!!! 1.1 Strict
|
|
|
|
!!! Strict foo bar
|
|
|
|
!!! FRAMESET
|
2006-10-30 06:10:26 +00:00
|
|
|
%strong{:apos => "Foo's bar!"} Boo!
|
2006-11-06 03:33:58 +00:00
|
|
|
.render= render :inline => "%em= 'wow!'", :type => :haml
|
2006-12-26 16:57:10 +00:00
|
|
|
= "stuff followed by whitespace"
|
|
|
|
|
2007-01-03 07:27:11 +00:00
|
|
|
- if true
|
|
|
|
|
|
|
|
%strong block with whitespace
|
2006-11-17 01:12:50 +00:00
|
|
|
%p
|
|
|
|
\Escape
|
|
|
|
\- character
|
|
|
|
\%p foo
|
|
|
|
\yee\ha
|
2006-10-22 21:42:45 +00:00
|
|
|
/ Short comment
|
|
|
|
/ This is a really long comment look how long it is it should be on a line of its own don't you think?
|
|
|
|
/
|
|
|
|
This is a block comment
|
|
|
|
cool, huh?
|
|
|
|
%strong there can even be sub-tags!
|
|
|
|
= "Or script!"
|
2007-01-31 16:21:17 +00:00
|
|
|
%p{ :class => "" } class attribute shouldn't appear!
|
2006-10-22 21:42:45 +00:00
|
|
|
/[if lte IE6] conditional comment!
|
|
|
|
/[if gte IE7]
|
|
|
|
%p Block conditional comment
|
|
|
|
%div
|
|
|
|
%h1 Cool, eh?
|
2006-11-26 23:42:44 +00:00
|
|
|
/[if gte IE5.2]
|
|
|
|
Woah a period.
|