From 8b00ace22d4d0949d65c28184cc0026998e39410 Mon Sep 17 00:00:00 2001 From: Mohamed Alsharaf Date: Wed, 12 Dec 2018 16:34:12 +1300 Subject: [PATCH] Update: remove spaces between html tags --- src/Template/Parser/Spaceless.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Template/Parser/Spaceless.php b/src/Template/Parser/Spaceless.php index bd4f25f..383d9a1 100755 --- a/src/Template/Parser/Spaceless.php +++ b/src/Template/Parser/Spaceless.php @@ -20,13 +20,14 @@ public static function spaceless($res) '/\'(\s+)([^\s\'])/m', '/\'(\s+)\'/m', '/([^\s\'])(\s+)\';/m', + '/>\s+<'], $php); return $php; }