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