Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | <?xml version="1.0" encoding="iso-8859-1"?> |
michael@0 | 2 | <!-- |
michael@0 | 3 | |
michael@0 | 4 | Description: atom entry content:encoded and xhtml works |
michael@0 | 5 | Expect: var content = feed.items.queryElementAt(1, Components.interfaces.nsIFeedEntry).content.plainText(); content == "should appear"; |
michael@0 | 6 | |
michael@0 | 7 | --> |
michael@0 | 8 | <feed xmlns="http://www.w3.org/2005/Atom" |
michael@0 | 9 | xmlns:foo="http://www.example.org" |
michael@0 | 10 | foo:quux="quuux" |
michael@0 | 11 | xmlns:content="http://purl.org/rss/1.0/modules/content/"> |
michael@0 | 12 | |
michael@0 | 13 | <title>hmm</title> |
michael@0 | 14 | |
michael@0 | 15 | <author> |
michael@0 | 16 | <email>hmm@example.com</email> |
michael@0 | 17 | <name>foo</name> |
michael@0 | 18 | </author> |
michael@0 | 19 | <generator version="1.1" uri="http://example.org">Hmm</generator> |
michael@0 | 20 | <author> |
michael@0 | 21 | <email>bar@example.com</email> |
michael@0 | 22 | <name>foo</name> |
michael@0 | 23 | </author> |
michael@0 | 24 | <rights type="xhtml"> |
michael@0 | 25 | <div xmlns="http://www.w3.org/1999/xhtml"><i>test</i> rights</div> |
michael@0 | 26 | </rights> |
michael@0 | 27 | |
michael@0 | 28 | |
michael@0 | 29 | <entry></entry> |
michael@0 | 30 | |
michael@0 | 31 | <entry foo:bar="baz"> |
michael@0 | 32 | <title>test</title> |
michael@0 | 33 | <summary type="xhtml"> |
michael@0 | 34 | <div xmlns="http://www.w3.org/1999/xhtml"> |
michael@0 | 35 | <b>test</b> content |
michael@0 | 36 | </div> |
michael@0 | 37 | </summary> |
michael@0 | 38 | <content:encoded> |
michael@0 | 39 | should appear |
michael@0 | 40 | </content:encoded> |
michael@0 | 41 | </entry> |
michael@0 | 42 | |
michael@0 | 43 | </feed> |