fixed tests ..

This commit is contained in:
nickurt committed 2018-01-03 14:50:42 +01:00
1 parent d621ce1357
commit 29253c13a3
1 file changed
+1 -1
+1 -1
View File
@@ -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) . '</' . $tag . '>');
}