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

i have a field made with tinymce, that contains valid xhtml.

in a widget i've made, i wish to just display it's deefault text,
without escaping it's formatting < or > .

the XML function expects a full xml document, hence i have to prepend
<?xml version="1.0"> to the text.

hence i've mad a function, xmlize(text) to eventually add this header.
where may i put the xmlize function, to be called on the field value
before it's being passed to XML.

i've tried to put it in the widget.py and in the widget class
definition, but kid complains it can't find it.

tia,

alex
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQCVAwUBR3O5kNpwN1sq38njAQLgkwQAgrAxzIp3lJkrZ0ujseQ7ZgDYtH2YvEer
fmCiO9Bo0oiGPt66bO35wKzsfYbMzDyTo5458s/LcptOYojOfL2oIV1kVhrNjeTp
EALq0DoWN/xx8srv1NoyARLlr9xFLLwb7eBsKYYgVjcOtvWd4GEV14oOqqoHWpR3
Fla+3+KgQmY=
=+VvA
-----END PGP SIGNATURE-----

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to