aboutsummaryrefslogtreecommitdiffstats
path: root/simplepie/test/feed_title/SPtests/bugs/272.0.php
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-07-05 03:34:42 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-07-05 03:34:42 -0700
commit9f7ae0e95f89b964a098eaacdfd89ff25e05c615 (patch)
tree0bfe8d04f4b11abdbea41fe9bf6e165eec8ebc4b /simplepie/test/feed_title/SPtests/bugs/272.0.php
parentf5826105bfc514599b2c5b6692bca14ca4bc5d78 (diff)
downloadvolse-hubzilla-9f7ae0e95f89b964a098eaacdfd89ff25e05c615.tar.gz
volse-hubzilla-9f7ae0e95f89b964a098eaacdfd89ff25e05c615.tar.bz2
volse-hubzilla-9f7ae0e95f89b964a098eaacdfd89ff25e05c615.zip
Add simplepie
Diffstat (limited to 'simplepie/test/feed_title/SPtests/bugs/272.0.php')
-rw-r--r--simplepie/test/feed_title/SPtests/bugs/272.0.php19
1 files changed, 19 insertions, 0 deletions
diff --git a/simplepie/test/feed_title/SPtests/bugs/272.0.php b/simplepie/test/feed_title/SPtests/bugs/272.0.php
new file mode 100644
index 000000000..5bd731613
--- /dev/null
+++ b/simplepie/test/feed_title/SPtests/bugs/272.0.php
@@ -0,0 +1,19 @@
+<?php
+
+class SimplePie_Feed_Title_Test_Bug_272_Test_0 extends SimplePie_Feed_Title_Test
+{
+ function data()
+ {
+ $this->data =
+'<feed xmlns="http://www.w3.org/2005/Atom">
+ <title>Ampersand: <![CDATA[&]]></title>
+</feed>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Ampersand: &amp;';
+ }
+}
+
+?> \ No newline at end of file