From 104c7f6273f953b6b82bd1c0f0aa2d5afb739721 Mon Sep 17 00:00:00 2001 From: Lito Date: Fri, 13 May 2022 10:13:41 +0200 Subject: [PATCH] Added line break in tags print --- src/Eusonlito/LaravelMeta/Meta.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Eusonlito/LaravelMeta/Meta.php b/src/Eusonlito/LaravelMeta/Meta.php index 25edfd7..234a713 100644 --- a/src/Eusonlito/LaravelMeta/Meta.php +++ b/src/Eusonlito/LaravelMeta/Meta.php @@ -263,7 +263,7 @@ public function tag($key, $default = '') $class = __NAMESPACE__.'\\Tags\\'.$tag; foreach (array_unique($values) as $value) { - $html .= $class::tag($key, $value); + $html .= "\n".$class::tag($key, $value); } } @@ -280,7 +280,7 @@ public function tags(array $keys = []) $html = ''; foreach (($keys ?: array_keys($this->metas)) as $key) { - $html .= $this->tag($key); + $html .= "\n".$this->tag($key); } return $html;