-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am 28.07.2011 23:31, schrieb Helend:
> Are there some methods to show them?

I've followed loosely, so I'm not sure, if user-supplied strings can appear.

If you don't trust the strings, better pipe it through some Genshi's
HTMLSanitizer [1], otherwise just wrap it up in Markup() [2] should be
sufficient to prevent undesired escapes for the included HTML markup.

Steffen Hoffmann
(hasienda)


[1] http://genshi.edgewall.org/wiki/Documentation/0.6.x/filters.html#id2
[2]
http://genshi.edgewall.org/wiki/Documentation/0.6.x/templates.html#markup-text
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk4x/6QACgkQ31DJeiZFuHfEbgCgmaOnQ20AYBhJuBkwB1Kgf/+5
54cAniN77s99AYVIxSqUJLLn8+ueIHbn
=ejKL
-----END PGP SIGNATURE-----

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Development" 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/trac-dev?hl=en.

Reply via email to