public
Description: HTML Abstraction Markup Language - A Markup Haiku
Homepage: http://haml.hamptoncatlin.com
Clone URL: git://github.com/nex3/haml.git
Use the SANITIZE constant in Precompiler::process_line
kamal (author)
Sun Mar 16 01:53:08 -0700 2008
nex3 (committer)
Sun Mar 16 15:10:49 -0700 2008
commit  891f39ce4c602027e541464cb90c3c863d1848a7
tree    b5f114ba7969ccf9a4a305c391300ddb75e78280
parent  bee4f2aa5dd1d7ac9ed250d6b9584e54d99ffba2
...
201
202
203
204
 
205
206
207
...
201
202
203
 
204
205
206
207
0
@@ -201,7 +201,7 @@ END
0
       when DIV_CLASS, DIV_ID; render_div(text)
0
       when ELEMENT; render_tag(text)
0
       when COMMENT; render_comment(text)
0
- when ?&
0
+ when SANITIZE
0
         return push_script(text[2..-1].strip, false, nil, false, true) if text[1] == SCRIPT
0
         push_plain text
0
       when SCRIPT

Comments

    No one has commented yet.