Just curious, what are your intentions?

I've always considered templates to be HTML files with inline Python. Thus,
you should try to keep the contents to only HTML (or XML/XHTML). Keeping the
JavaScript in an external file is the preferred method when possible just as
you should try to do with CSS -- separation of content, presentation, and
`enlivenment` or so I've heard it called.

I was experiencing problems with inline scripts in my HTML while using the
$() functionality of Prototype and jQuery. That is, until I removed them as
I just mentioned.

On 8/26/07, Tzury <[EMAIL PROTECTED]> wrote:
>
>
> May I suggest another feature to the 'to-do list' of the built-in
> template engine.
>
> As parsing a template, the function should  ignore the comments blocks
> that within a <script> block. That is, a comment of javascript should
> not be evaluated.
>
> Tzury
>
> [joyful, clean, productive for devel in web_py.get_benefits()]
>
>
> >
>


-- 
Angelo Gladding
[EMAIL PROTECTED]
http://angelogladding.com
(626) 755 - 1417

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to