From 27daf070ba7ec09d3c5181a504201409fa2b9568 Mon Sep 17 00:00:00 2001 From: Nathan Weizenbaum Date: Thu, 5 Jun 2008 17:51:29 -0700 Subject: [PATCH] Clarify escape_html documentation. --- lib/haml.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/haml.rb b/lib/haml.rb index 95fe34d1..a8f09f07 100644 --- a/lib/haml.rb +++ b/lib/haml.rb @@ -934,7 +934,8 @@ $LOAD_PATH << dir unless $LOAD_PATH.include?(dir) # [:escape_html] Sets whether or not to escape HTML-sensitive characters in script. # If this is true, = behaves like &=; # otherwise, it behaves like !=. -# Note that this escapes tag attributes. +# Note that if this is set, != should be used for yielding to subtemplates +# and rendering partials. # Defaults to false. # # [:suppress_eval] Whether or not attribute hashes and Ruby scripts