summaryrefslogtreecommitdiffhomepage
path: root/haml.html.markdown
diff options
context:
space:
mode:
authorVojta Svoboda <vojtasvoboda.cz@gmail.com>2015-10-08 22:15:32 +0200
committerVojta Svoboda <vojtasvoboda.cz@gmail.com>2015-10-08 22:15:32 +0200
commit838701b917bb914f3483b6e9233920a752d20f82 (patch)
treea430654109b2f8e6a47eddf057f86d73630314a7 /haml.html.markdown
parent4d619e9b0fc4a061fa720b47b22068c8661e9be6 (diff)
parentabd7444f9e5343f597b561a69297122142881fc8 (diff)
Merge branch 'master' into translation/json-cs
Diffstat (limited to 'haml.html.markdown')
-rw-r--r--haml.html.markdown8
1 files changed, 4 insertions, 4 deletions
diff --git a/haml.html.markdown b/haml.html.markdown
index aed3dcae..847714e6 100644
--- a/haml.html.markdown
+++ b/haml.html.markdown
@@ -62,11 +62,11 @@ $ haml input_file.haml output_file.html
%h1 Headline copy
/ To write multiline content, nest it instead
-%p
+%p
This is a lot of content that we could probably split onto two
separate lines.
-/
+/
You can escape html by using the ampersand and equals sign ( &= ). This
converts html-sensitive characters (&, /, :) into their html encoded
equivalents. For example
@@ -102,7 +102,7 @@ $ haml input_file.haml output_file.html
/ Inserting Ruby
/ -------------------------------------------
-/
+/
To output a Ruby value as the contents of a tag, use an equals sign followed
by the Ruby code
@@ -141,7 +141,7 @@ $ haml input_file.haml output_file.html
/ -------------------------------------------
/
- Use the colon to define Haml filters, one example of a filter you can
+ Use the colon to define Haml filters, one example of a filter you can
use is :javascript, which can be used for writing inline js
:javascript