From 29253c13a311b11e437cf0d9e1247375a74a97e4 Mon Sep 17 00:00:00 2001 From: nickurt Date: Wed, 3 Jan 2018 14:50:42 +0100 Subject: [PATCH] fixed tests .. --- src/HtmlBuilder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/HtmlBuilder.php b/src/HtmlBuilder.php index 8cecc65..210c7e7 100755 --- a/src/HtmlBuilder.php +++ b/src/HtmlBuilder.php @@ -525,7 +525,7 @@ class HtmlBuilder */ public function tag($tag, $content, array $attributes = []) { - $content = is_array($content) ? implode(PHP_EOL, $content) : $content; + $content = is_array($content) ? implode('', $content) : $content; return $this->toHtmlString('<' . $tag . $this->attributes($attributes) . '>' . $this->toHtmlString($content) . ''); }