Change up how Ansi and Textarea work

This commit is contained in:
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>' );
}
}