]> git.mxchange.org Git - friendica.git/blobdiff - simplepie/test/feed_title/rss-profile/7.php
Add simplepie
[friendica.git] / simplepie / test / feed_title / rss-profile / 7.php
diff --git a/simplepie/test/feed_title/rss-profile/7.php b/simplepie/test/feed_title/rss-profile/7.php
new file mode 100644 (file)
index 0000000..26d699b
--- /dev/null
@@ -0,0 +1,21 @@
+<?php
+
+class RSS_Profile_Title_7 extends SimplePie_Feed_Title_Test
+{
+       function data()
+       {
+               $this->data = 
+'<rss version="2.0">
+       <channel>
+               <title>Nice &#x3C;gorilla&#x3E; what\'s he weigh?</title>
+       </channel>
+</rss>';
+       }
+       
+       function expected()
+       {
+               $this->expected = 'Nice &lt;gorilla&gt; what\'s he weigh?';
+       }
+}
+
+?>
\ No newline at end of file