aboutsummaryrefslogtreecommitdiffstats
path: root/simplepie/test/first_item_title/SPtests/entities/rss/2.0/2.php
diff options
context:
space:
mode:
Diffstat (limited to 'simplepie/test/first_item_title/SPtests/entities/rss/2.0/2.php')
-rw-r--r--simplepie/test/first_item_title/SPtests/entities/rss/2.0/2.php23
1 files changed, 23 insertions, 0 deletions
diff --git a/simplepie/test/first_item_title/SPtests/entities/rss/2.0/2.php b/simplepie/test/first_item_title/SPtests/entities/rss/2.0/2.php
new file mode 100644
index 000000000..a79bd280a
--- /dev/null
+++ b/simplepie/test/first_item_title/SPtests/entities/rss/2.0/2.php
@@ -0,0 +1,23 @@
+<?php
+
+class SimplePie_First_Item_Title_Test_RSS_20_Title_2 extends SimplePie_First_Item_Title_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="2.0">
+ <channel>
+ <item>
+ <title><![CDATA[This &amp;amp; this]]></title>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'This &amp;amp;amp; this';
+ }
+}
+
+?> \ No newline at end of file