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-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-10-10 16:49:20 -04:00
2013-10-10 16:49:20 -04:00
2013-02-26 14:36:57 +01:00
2013-03-22 17:31:29 +01:00
2013-07-01 14:29:33 +02:00
2013-07-01 14:29:33 +02:00
2013-04-12 15:31:58 -06:00
2013-07-01 14:29:33 +02:00
2013-09-18 06:44:38 -04:00
2013-09-10 18:07:29 +02:00
2013-09-09 22:32:52 +02:00
2013-04-12 15:31:58 -06:00
2013-04-12 15:31:58 -06:00
2013-10-13 18:14:04 +02:00
2013-09-09 22:32:52 +02:00
2013-07-02 10:49:53 +01:00
2013-10-15 00:42:42 +02:00
2013-09-02 12:11:02 +02:00
2013-07-01 14:29:33 +02:00
2013-04-12 15:31:58 -06:00
2013-04-12 15:31:58 -06:00
2013-09-13 20:09:41 -04:00
2013-02-26 14:36:57 +01:00
2013-04-12 15:31:58 -06:00
2013-07-01 14:29:33 +02:00
2013-07-01 14:29:33 +02:00
2013-10-15 00:42:42 +02:00
2013-09-18 09:42:47 -04:00
2013-07-01 14:29:33 +02:00
2013-10-08 08:24:58 -04:00
2013-10-05 18:50:20 +02:00
2013-09-09 22:32:51 +02:00
2013-09-09 22:32:51 +02:00