Esempio n. 1
0
 function testEscapeHTML()
 {
     $string1 = new SafeString("<>\"'");
     $this->assertEquals($string1->toHTML(), '&lt;&gt;&quot;&#039;');
 }