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-11 07:25:14 -04:00
2013-10-10 16:49:20 -04:00
2013-10-04 13:27:08 -04:00
2013-10-03 09:37:49 -04:00
2013-10-11 07:25:14 -04:00
2013-07-29 20:28:13 +02:00
2013-09-19 06:24:12 -04:00
2013-10-10 16:49:20 -04:00
2013-09-16 12:52:05 -04:00
2013-09-03 14:22:21 -04:00
2013-10-10 11:09:42 -04:00
2013-10-11 07:25:14 -04:00
2013-10-10 16:49:20 -04:00
2013-10-11 07:25:14 -04:00
2013-07-22 19:36:03 +01:00
2013-08-05 13:34:35 -04:00
2013-09-28 14:18:37 +03:00
2013-10-10 11:09:42 -04:00
2013-10-10 16:49:20 -04:00
2013-10-10 09:35:56 -04:00
2013-07-29 20:28:13 +02:00
2013-07-29 20:28:13 +02:00
2013-07-01 14:29:33 +02:00
2013-07-29 20:28:13 +02:00
2013-10-11 07:25:14 -04:00
2013-10-08 10:00:39 +08:00
2013-10-10 16:49:20 -04:00
2013-10-13 18:14:04 +02:00
2013-10-10 16:49:20 -04:00
2013-10-10 16:49:20 -04:00
2013-07-29 20:28:13 +02:00
2013-10-10 16:49:20 -04:00
2013-10-10 16:49:20 -04:00
2013-09-08 12:20:01 -07:00
2013-10-10 16:49:20 -04:00
2013-10-10 16:49:20 -04:00
2013-09-25 21:15:59 +03:00
2013-10-10 16:49:20 -04:00
2013-07-29 20:28:13 +02:00
2013-10-10 16:49:20 -04:00
2013-09-08 12:20:01 -07:00
2013-07-29 20:28:13 +02:00
2013-07-29 20:28:13 +02:00
2013-07-08 09:35:08 +10:00
2013-09-16 12:52:05 -04:00
2013-10-10 16:49:20 -04:00
2013-10-10 16:49:20 -04:00
2013-08-19 09:51:28 +03:00
2013-08-22 13:58:26 -04:00
2013-09-08 12:20:01 -07:00
2013-09-09 23:01:07 +02:00
2013-08-21 22:32:04 +01:00
2013-09-09 23:01:07 +02:00
2013-10-10 16:49:20 -04:00
2013-07-29 20:28:13 +02:00
2013-09-30 09:42:27 +02:00
2013-10-11 07:25:14 -04:00
2013-10-10 16:49:20 -04:00
2013-09-28 10:55:32 +02:00
2013-07-29 20:28:13 +02:00
2013-09-18 10:03:52 +03:00
2013-09-09 23:01:07 +02:00
2013-09-10 01:55:16 +02:00
2013-10-11 08:07:25 -04:00
2013-10-11 12:52:57 -04:00
2013-10-10 16:49:20 -04:00
2013-10-11 12:52:57 -04:00
2013-09-30 09:42:27 +02:00
2013-08-13 14:11:52 +03:00
2013-10-12 18:31:19 +02:00
2013-10-10 16:49:20 -04:00
2013-10-04 16:23:06 -04:00
2013-10-10 16:49:20 -04:00
2013-07-29 20:28:13 +02:00
2013-07-29 20:28:13 +02:00
2013-09-22 22:48:22 +02:00
2013-07-29 20:28:13 +02:00
2013-09-07 11:47:38 -05:00
2013-10-10 16:49:20 -04:00
2013-09-10 08:26:54 -04:00
2013-10-10 16:49:20 -04:00
2013-07-01 14:29:33 +02:00
2013-10-10 16:49:20 -04:00
2013-07-29 20:28:13 +02:00
2013-09-28 10:55:32 +02:00
2013-09-14 09:48:59 +03:00
2013-10-11 08:07:25 -04:00
2013-10-10 16:49:20 -04:00
2013-08-16 20:12:10 +02:00
2013-07-31 16:02:36 +03:00
2013-10-10 16:49:20 -04:00
2013-10-10 16:49:20 -04:00
2013-09-03 14:22:21 -04:00
2013-07-29 20:28:13 +02:00
2013-10-10 16:49:20 -04:00
2013-09-09 23:01:07 +02:00
2013-09-09 23:01:07 +02:00
2013-09-09 23:01:07 +02:00
2013-07-29 20:28:13 +02:00
2013-10-10 16:49:20 -04:00
2013-09-30 15:43:44 -04:00
2013-07-29 20:28:13 +02:00
2013-10-05 23:07:52 +03:00
2013-07-29 20:28:13 +02:00
2013-07-29 20:28:13 +02:00
2013-09-09 23:01:07 +02:00
2013-07-29 20:28:13 +02:00
2013-07-29 20:28:13 +02:00
2013-09-03 11:51:34 -04:00
2013-10-10 16:49:20 -04:00
2013-10-04 16:23:06 -04:00
2013-09-05 05:49:10 -04:00
2013-07-29 20:28:13 +02:00
2013-08-15 19:47:26 -04:00
2013-09-16 12:52:05 -04:00
2013-08-21 22:32:04 +01:00
2013-08-15 19:47:26 -04:00
2013-07-29 20:28:13 +02:00
2013-08-15 19:47:26 -04:00
2013-09-09 23:01:07 +02:00
2013-07-29 20:28:13 +02:00
2013-09-09 22:32:52 +02:00
2013-10-02 08:16:09 -04:00
2013-10-11 07:25:14 -04:00
2013-07-29 20:28:13 +02:00
2013-07-29 20:28:13 +02:00
2013-07-29 20:28:13 +02:00
2013-07-29 20:28:13 +02:00
2013-07-29 20:28:13 +02:00
2013-09-30 09:42:27 +02:00
2013-10-03 13:20:05 -04:00
2013-10-11 07:25:14 -04:00
2013-07-29 20:28:13 +02:00
2013-07-29 20:28:13 +02:00
2013-07-29 20:28:13 +02:00
2013-10-11 07:25:14 -04:00
2013-07-29 20:28:13 +02:00
2013-09-03 11:51:34 -04:00
2013-09-16 12:52:05 -04:00
2013-10-11 07:25:14 -04:00
2013-09-14 10:33:15 +03:00
2013-08-15 19:47:26 -04:00
2013-10-08 08:05:39 -04:00
2013-09-06 22:11:55 -05:00
2013-09-03 14:22:21 -04:00
2013-10-10 16:49:20 -04:00
2013-07-29 20:28:13 +02:00
2013-08-15 19:47:26 -04:00
2013-07-29 20:28:13 +02:00
2013-09-24 11:00:00 +01:00
2013-09-24 10:29:21 +02:00
2013-07-29 20:28:13 +02:00
2013-07-29 20:28:13 +02:00
2013-10-01 20:36:06 +03:00
2013-09-09 16:03:13 -04:00
2013-10-11 12:52:57 -04:00
2013-09-22 22:02:59 +02:00
2013-09-14 07:19:32 -04:00
2013-07-29 20:28:13 +02:00
2013-10-10 09:35:56 -04:00
2013-09-02 12:11:02 +02:00
2013-07-29 20:28:13 +02:00
2013-09-05 14:39:23 -05:00
2013-10-13 18:14:04 +02:00
2013-09-28 10:55:32 +02:00
2013-10-11 07:25:14 -04:00
2013-10-02 23:29:48 -03:00
2013-10-10 16:49:20 -04:00
2013-10-10 16:49:20 -04:00
2013-07-31 06:59:15 -04:00
2013-10-10 16:49:20 -04:00
2013-10-10 16:49:20 -04:00
2013-07-01 21:49:11 +02:00
2013-09-10 09:49:39 -04:00
2013-07-01 21:49:11 +02:00
2013-10-10 08:50:32 -04:00
2013-10-13 11:54:11 +02:00
2013-09-30 09:42:27 +02:00
2013-09-22 23:02:35 +02:00
2013-09-09 23:01:07 +02:00
2013-07-31 16:02:36 +03:00
2013-07-29 20:28:13 +02:00
2013-10-10 16:49:20 -04:00
2013-10-15 00:42:42 +02:00
2013-10-10 16:49:20 -04:00
2013-10-11 17:58:07 -04:00
2013-10-10 16:49:20 -04:00
2013-10-10 16:49:20 -04:00
2013-07-01 22:49:07 +02:00
2013-08-25 22:29:43 -03:00
2013-10-02 09:12:58 -04:00