Am Donnerstag, 22. November 2012 20:41:20 UTC+1 schrieb hasienda:
>
> -----BEGIN PGP SIGNED MESSAGE----- 
> Hash: SHA1 
>
> On 22.11.2012 14:52, LeGermanGuy wrote: 
> > When I try to add some javascript to my own ticket.html, 
>
> How? 
>
> > the trac-daemon replaces > with >. 
>
> No. Genshi is the template engine, and certainly it does escaping for 
> any user input, that isn't marked as Markup. 
>
> > I know what this is good for, but how can I 
> > prevent that, because I want to use it in javascript? 
>
> With that few information it's nearly impossible to help. Consider to 
> disclose some code, and what you want to do with/in ticket.html, please. 
>
> Steffen Hoffmann 
> -----BEGIN PGP SIGNATURE----- 
> Version: GnuPG v1.4.10 (GNU/Linux) 
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ 
>
> iEYEARECAAYFAlCuf9EACgkQ31DJeiZFuHcJSACfYLEsujHH7bcih0Ick9GnEtsg 
> FWcAn2s3I3CoC5/7TEwEbgAYPBo32m5G 
> =hhul 
> -----END PGP SIGNATURE----- 
>

When i try to run this code in javascript 'if(step > newstep) { do sth}' it 
will turn into 'if(step &gt; newstep) { do sth}'. When i try to use '<' 
instead of '>' i get an internal error. Operators like this '==' are workin 
fine

derp
.

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/trac-users/-/kc58dd7UQ2YJ.
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/trac-users?hl=en.

Reply via email to