Exemple #1
0
 public function testWillRunDataThroughHTMLEntities()
 {
     $expected = htmlentities('<h1>hello</h1>');
     $actual = Q::ent('<h1>hello</h1>');
     $this->assertEquals($expected, $actual);
 }
Exemple #2
0
 function ent($input)
 {
     return Q::ent($input);
 }