diff options
Diffstat (limited to 'simplepie/test/feed_title/SPtests/bugs/272.1.php')
-rw-r--r-- | simplepie/test/feed_title/SPtests/bugs/272.1.php | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/simplepie/test/feed_title/SPtests/bugs/272.1.php b/simplepie/test/feed_title/SPtests/bugs/272.1.php new file mode 100644 index 000000000..5beda2ded --- /dev/null +++ b/simplepie/test/feed_title/SPtests/bugs/272.1.php @@ -0,0 +1,19 @@ +<?php + +class SimplePie_Feed_Title_Test_Bug_272_Test_1 extends SimplePie_Feed_Title_Test +{ + function data() + { + $this->data = +'<feed xmlns="http://www.w3.org/2005/Atom"> + <title><![CDATA[&]]>: Ampersand</title> +</feed>'; + } + + function expected() + { + $this->expected = '&: Ampersand'; + } +} + +?>
\ No newline at end of file |