diff options
author | Brion Vibber <brion@pobox.com> | 2010-04-23 15:40:48 -0700 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-04-23 15:40:48 -0700 |
commit | 8fd0059bf69ed16ed4efad7b8e16dc2afda32e18 (patch) | |
tree | 88b030330d671dbbb8dfd6430d45f29d9e4d8bea /lib/cache.php | |
parent | 9c8052e755e5ad4c8120ace9acdd75ee910e2ab7 (diff) |
Test cases and fixes for Atom and RSS content decoding.
Fix extraction of Atom <content type="text"> and <content type="html">; we were failing to escape plaintext source data to HTML, and doing an extraneous double-deescape on HTML source resulting in breakage of notices containing text that looks like HTML. Only <content type="xhtml"> was working correctly previously.
Fixes for RSS2 content processing: we were failing to load <content:encoded> at all due to using wrong element name, and were applying an extraneous de-escape for <description> rather than the escaping that is required to turn plaintext into HTML. (Per spec, <description> must be plaintext.)
Diffstat (limited to 'lib/cache.php')
0 files changed, 0 insertions, 0 deletions