Change up how Ansi and Textarea work

这个提交包含在:
Annika Backstrom 2016-01-25 04:36:41 +00:00
父节点 37f1ae3eca
当前提交 12d75baeee
共有 1 个文件被更改,包括 2 次插入2 次删除

查看文件

@ -232,7 +232,7 @@ class ActionAnsi2Html extends AbstractAction
{
public function setUp()
{
$this->setContainer( new DivContainer );
$this->setContainer( new TextareaContainer );
$this->setFormatter( new EchoFormatter );
}
@ -276,7 +276,7 @@ class TextareaContainer extends DivContainer
{
public function wrap( $contents )
{
return parent::wrap( '<textarea>' . htmlentities($contents) . '</textarea>' );
return parent::wrap( '<textarea>' . $contents . '</textarea>' );
}
}