Change up how Ansi and Textarea work

Este commit está contenido en:
Annika Backstrom 2016-01-25 04:36:41 +00:00
padre 37f1ae3eca
commit 12d75baeee
Se han modificado 1 ficheros con 2 adiciones y 2 borrados

Ver fichero

@ -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>' );
}
}