public function test_nl2br() { $this->assertEquals("new<br>\nline", Helper::nl2br("new\nline")); $this->assertEquals("new<br />\nline", Helper::nl2br("new\nline", true)); }