<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -70,6 +70,27 @@ and renders
 
   &lt;p&gt;&lt;textarea&gt;Foo&amp;#x000A;Bar&lt;/textarea&gt;&lt;/p&gt;
 
+=== How do I make my long lines of Ruby code look nicer in my Haml document?
+
+Put them in a helper or your model.
+
+Haml purposefully makes it annoying to put lots of Ruby code into your templates,
+because lots of code doesn't belong in the view.
+If you take that huge +link_to_remote+ call
+and move it to a +update_sidebar_link+ helper,
+it'll make your view both easier to read and more semantic.
+
+If you absolutely must put lots of code in your template,
+Haml offers a somewhat awkward multiline-continuation tool.
+Put a &lt;tt&gt;|&lt;/tt&gt; (pipe character) at the end of each line you want to be merged into one
+(including the last line!).
+For example:
+
+  %p= @this.is(way.too.much). |
+      code(&quot;and I should&quot;).   |
+      really_move.it.into(    |
+        :a =&gt; @helper)        |
+
 === I have Haml installed. Why is Rails (only looking for &lt;tt&gt;.html.erb&lt;/tt&gt; files | rendering Haml files as plain text | rendering Haml files as blank pages)?
 
 There are several reasons these things might be happening.</diff>
      <filename>FAQ</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>6fc675ef4e5193cccb117999fb13436f86c7ec77</id>
    </parent>
  </parents>
  <author>
    <name>Nathan Weizenbaum</name>
    <email>nex342@gmail.com</email>
  </author>
  <url>http://github.com/nex3/haml/commit/c273243725e9aa38a9581ab0ac6f38380c6ff6b7</url>
  <id>c273243725e9aa38a9581ab0ac6f38380c6ff6b7</id>
  <committed-date>2008-05-15T18:34:35-07:00</committed-date>
  <authored-date>2008-05-15T18:34:35-07:00</authored-date>
  <message>Add a section on multiline to the FAQ.</message>
  <tree>65f4a3426d2003c233c1921be1ddf8ee939a35fe</tree>
  <committer>
    <name>Nathan Weizenbaum</name>
    <email>nex342@gmail.com</email>
  </committer>
</commit>
