aboutsummaryrefslogtreecommitdiffstats
path: root/simplepie/test/feed_title/rss-profile/7.php
diff options
context:
space:
mode:
Diffstat (limited to 'simplepie/test/feed_title/rss-profile/7.php')
-rw-r--r--simplepie/test/feed_title/rss-profile/7.php21
1 files changed, 21 insertions, 0 deletions
diff --git a/simplepie/test/feed_title/rss-profile/7.php b/simplepie/test/feed_title/rss-profile/7.php
new file mode 100644
index 000000000..26d699b75
--- /dev/null
+++ b/simplepie/test/feed_title/rss-profile/7.php
@@ -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