2006-08-07 23:55:16 +00:00
!!!
2007-03-17 11:03:36 +00:00
%html{html_attrs}
2006-08-07 23:55:16 +00:00
%head
%title Hampton Catlin Is Totally Awesome
2007-03-26 06:03:29 +00:00
%meta{"http-equiv" => "Content-Type", :content => "text/html; charset=utf-8"}
2006-08-07 23:55:16 +00:00
%body
/ You're In my house now!
2007-01-24 17:35:06 +00:00
- concat("foo\n")
2006-08-07 23:55:16 +00:00
.header
Yes, ladies and gentileman. He is just that egotistical.
Fantastic! This should be multi-line output
The question is if this would translate! Ahah!
= 1 + 9 + 8 + 2 #numbers should work and this should be ignored
#body= " Quotes should be loved! Just like people!"
2006-12-19 16:58:29 +00:00
- 120.times do |number|
- number
2006-09-29 19:20:53 +00:00
Wow.|
2007-04-03 04:51:45 +00:00
%p
2006-09-22 02:18:43 +00:00
= "Holy cow " + |
"multiline " + |
"tags! " + |
"A pipe (|) even!" |
2006-09-29 19:20:53 +00:00
= [1, 2, 3].collect { |n| "PipesIgnored|" }
2006-09-22 02:18:43 +00:00
= [1, 2, 3].collect { |n| |
n.to_s |
}.join("|") |
2006-10-14 23:50:07 +00:00
%div.silent
- foo = String.new
- foo << "this"
- foo << " shouldn't"
- foo << " evaluate"
= foo + " but now it should!"
-# Woah crap a comment!
2006-11-02 21:24:50 +00:00
-# That was a line that shouldn't close everything.
2006-10-14 23:50:07 +00:00
%ul.really.cool
- ('a'..'f').each do |a|
%li= a
2006-08-07 23:55:16 +00:00
#combo.of_divs_with_underscore= @should_eval = "with this text"
2006-11-19 22:20:28 +00:00
= [ 104, 101, 108, 108, 111 ].map do |byte|
- byte.chr
2006-08-07 23:55:16 +00:00
.footer
%strong.shout= "This is a really long ruby quote. It should be loved and wrapped because its more than 50 characters. This value may change in the future and this test may look stupid. \nSo, I'm just making it *really* long. God, I hope this works"