Hi all
I'm developing a web app using Turbogears 2 with Genshi templates and
Mootools Javascript framework. I am a novice with Genshi and I'm
having a problem.
As you may know, MooTools support a selector $$ to find an array of
elements with a specified selector. For example, $$('a') returns all
the hyperlinks in the document. ( docs: http://mootools.net/docs/Element/Element#dollars
)
My problem is: all my double dollars in my javascript code ($$) are
being processed by genshi and trasformed into single dollar ($), with
different semantic and this causes my scripts to fail.
Is there a way to "escape" those double dollars so that genshi ignore
them, or do I have to include my code in an external file so it
doesn't get processed by the template engine?
Thank you for any help :)