From 63046dbc5d939c15c71e196e00f1f3230786c82e Mon Sep 17 00:00:00 2001 From: Anton Vakhrushev Date: Sat, 15 Jun 2019 11:12:24 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=BE=20=D0=BF=D0=BE=D0=B2=D0=B5=D0=B4=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D0=B5=20tidy?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bundle/HtmlPrettierBundle/HtmlPrettier.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bundle/HtmlPrettierBundle/HtmlPrettier.php b/bundle/HtmlPrettierBundle/HtmlPrettier.php index 315360b..3a383bb 100644 --- a/bundle/HtmlPrettierBundle/HtmlPrettier.php +++ b/bundle/HtmlPrettierBundle/HtmlPrettier.php @@ -25,6 +25,8 @@ class HtmlPrettier implements EventSubscriberInterface public function formatHtml(SourceSetEvent $event): void { $config = [ + 'output-html' => true, + 'drop-empty-elements' => false, 'indent' => true, 'wrap' => 120, ];