예제 #1
0
파일: TextTest.php 프로젝트: puwenhan/Text
 public function testEscapeHtmlText()
 {
     $text = new Text('<script></script>');
     $this->assertEquals('&lt;script&gt;&lt;/script&gt;', $text->escapeHtml());
 }