From 2585333c71deaeda517b7e7a446ab1cd2f305862 Mon Sep 17 00:00:00 2001 From: Nathan Weizenbaum Date: Sun, 5 Jul 2009 01:51:26 -0700 Subject: [PATCH] [Haml] Tweak the reference a bit. --- doc-src/HAML_REFERENCE.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc-src/HAML_REFERENCE.md b/doc-src/HAML_REFERENCE.md index 815eda68..739b2d82 100644 --- a/doc-src/HAML_REFERENCE.md +++ b/doc-src/HAML_REFERENCE.md @@ -302,6 +302,12 @@ You can, however, use both syntaxes together: %a(title=@title){:href => @link.href} Stuff +HTML-style attributes can be stretched across multiple lines +just like hash-style attributes: + + %script(type="text/javascript" + src="javascripts/script_#{2 + 7}") + #### Attribute Methods A Ruby method call that returns a hash