[Nitro] getting spark to hightlight syntax...

George Moschovitis george.moschovitis at gmail.com
Tue Sep 6 05:05:44 EDT 2005


Hello,

#|..| is an alias for #{markup(...)}
#(..) is an alias for #{sanitize(...)}

I think these aliases (macros) help keep templates clean. 
If you want to customize the rendering you can overload the methods:

Markup.markup
Markup.sanitize

hope this helps.

regards,
George.

-- 
http://www.gmosx.com
http://www.navel.gr
http://www.nitrohq.com




More information about the Nitro-general mailing list