コード例 #1
0
ファイル: TextTest.php プロジェクト: puwenhan/Text
 public function testEscapeHtmlText()
 {
     $text = new Text('<script></script>');
     $this->assertEquals('&lt;script&gt;&lt;/script&gt;', $text->escapeHtml());
 }