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