#7261: Support for __html__ for Library interoperability
---------------------------------------------+------------------------------
Reporter: mitsuhiko | Owner: jbalogh
Status: assigned | Milestone:
Component: Template system | Version: SVN
Resolution: | Keywords: __html__
Stage: Design decision needed | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
---------------------------------------------+------------------------------
Comment (by mitsuhiko):
How is that introducing security problems?
The spec is literally: "if an object has an __html__ method it can be used
to get a safe html representation of the object in unicode that is
guaranteed to be convertible into an unicode string but might be a unicode
string subclass". End of spec :)
--
Ticket URL: <http://code.djangoproject.com/ticket/7261#comment:10>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" 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/django-updates?hl=en.