1
0
mirror of https://github.com/django/django.git synced 2025-01-27 10:39:40 +00:00
Unai Zalakain af64429b99 Fixed #7261 -- support for __html__ for library interoperability
The idea is that if an object implements __html__ which returns a string this is
used as HTML representation (eg: on escaping). If the object is a str or unicode
subclass and returns itself the object is a safe string type.

This is an updated patch based on jbalogh and ivank patches.
2013-10-15 00:42:42 +02:00
..
2013-10-10 16:49:20 -04:00
2013-10-10 16:49:20 -04:00
2013-10-10 16:49:20 -04:00
2013-10-10 16:49:20 -04:00
2013-10-11 07:25:14 -04:00
2013-10-10 16:49:20 -04:00
2013-10-10 16:49:20 -04:00
2013-10-10 16:49:20 -04:00
2013-10-10 16:49:20 -04:00
2013-10-10 16:49:20 -04:00
2013-10-10 16:49:20 -04:00
2013-10-10 16:49:20 -04:00
2013-10-10 16:49:20 -04:00
2013-10-10 16:49:20 -04:00
2013-10-10 16:49:20 -04:00
2013-10-10 16:49:20 -04:00
2013-10-10 16:49:20 -04:00
2013-10-10 16:49:20 -04:00
2013-10-10 16:49:20 -04:00
2013-10-10 16:49:20 -04:00
2013-10-10 16:49:20 -04:00
2013-10-10 16:49:20 -04:00
2013-10-10 16:49:20 -04:00
2013-10-10 16:49:20 -04:00
2013-10-10 16:49:20 -04:00
2013-10-10 16:49:20 -04:00
2013-10-11 07:25:14 -04:00
2013-10-11 07:25:14 -04:00
2013-10-10 16:49:20 -04:00
2013-10-10 16:49:20 -04:00
2013-10-10 16:49:20 -04:00
2013-10-10 16:49:20 -04:00
2013-10-10 16:49:20 -04:00
2013-10-10 16:49:20 -04:00
2013-10-10 16:49:20 -04:00
2013-10-10 16:49:20 -04:00
2013-10-10 16:49:20 -04:00