%h1 Welcome to Solidarity Hello,
becomes
<h1>Welcome to Solidarity</h1> Hello, John! Please <a href="/comments/new">post a comment</a>!
Please keep in mind that in Rails 2 and Haml 2 you must correctly html-run everything that you send to the browser (ht nex3):
Hello,
In Rails 3 and Haml 3, everything is disabled by default, so you can simply do:
Hello,
source share