root / drupal7 / sites / all / libraries / simplepie / tests / oldtests / first_item_title / SPtests / entities / atom / 0.3 / 2.3.php @ 41cc1b08
1 |
<?php
|
---|---|
2 |
|
3 |
class SimplePie_First_Item_Title_Test_Atom_03_Title_XHTML_2 extends SimplePie_First_Item_Title_Test |
4 |
{ |
5 |
function data() |
6 |
{ |
7 |
$this->data =
|
8 |
'<feed version="0.3" xmlns="http://purl.org/atom/ns#">
|
9 |
<entry>
|
10 |
<title type="application/xhtml+xml" mode="xml"><div xmlns="http://www.w3.org/1999/xhtml"><![CDATA[This &amp; this]]></div></title>
|
11 |
</entry>
|
12 |
</feed>';
|
13 |
} |
14 |
|
15 |
function expected() |
16 |
{ |
17 |
$this->expected = 'This &amp;amp; this'; |
18 |
} |
19 |
} |
20 |
|
21 |
?>
|