aboutsummaryrefslogtreecommitdiffstats
path: root/simplepie/test/feed_title/rss-profile/2.php
diff options
context:
space:
mode:
Diffstat (limited to 'simplepie/test/feed_title/rss-profile/2.php')
-rw-r--r--simplepie/test/feed_title/rss-profile/2.php21
1 files changed, 21 insertions, 0 deletions
diff --git a/simplepie/test/feed_title/rss-profile/2.php b/simplepie/test/feed_title/rss-profile/2.php
new file mode 100644
index 000000000..e7635c9af
--- /dev/null
+++ b/simplepie/test/feed_title/rss-profile/2.php
@@ -0,0 +1,21 @@
+<?php
+
+class RSS_Profile_Title_2 extends SimplePie_Feed_Title_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="2.0">
+ <channel>
+ <title>Bill &#x26; Ted\'s Excellent Adventure</title>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Bill &amp; Ted\'s Excellent Adventure';
+ }
+}
+
+?> \ No newline at end of file