toolkit/components/feeds/test/xml/rss2/item_description_decode_entities.xml

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/toolkit/components/feeds/test/xml/rss2/item_description_decode_entities.xml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,21 @@
     1.4 +<?xml version="1.0" encoding="utf-8"?>
     1.5 +<!--
     1.6 +
     1.7 +Description: item desc encoded, double-escaped entity
     1.8 +Expect: var summary = feed.items.queryElementAt(0, Components.interfaces.nsIFeedEntry).summary; summary.plainText() == "test D\u00e9sol\u00e9e";
     1.9 +
    1.10 +-->
    1.11 +<rss version="2.0" >
    1.12 +<channel>
    1.13 +<item>
    1.14 +<comments>http://example.org</comments>
    1.15 +<author>jbb@dallas.example.com (Joe Bob Briggs)</author>
    1.16 +<title>test</title>
    1.17 +<category domain="foo">bar</category>
    1.18 +
    1.19 +<description>
    1.20 +  &lt;b>test D&amp;eacute;sol&amp;eacute;e&lt;/b> 
    1.21 +</description>
    1.22 +</item>
    1.23 +</channel>
    1.24 +</rss>

mercurial