Browse Source

Change up how Ansi and Textarea work

master
Annika Backstrom 4 years ago
parent
commit
12d75baeee
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      classes.php

+ 2
- 2
classes.php View File

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



Loading…
Cancel
Save