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