commented html-minification out, causes word-spacing errors
This commit is contained in:
1 parent
d4f326e7ce
commit
9e7874e81a
1 file changed
+1
-1
@@ -214,7 +214,7 @@ class TemplateService
|
|||||||
$path = $destDir.'/'.$name.'.'.$this->translator->getTranslator()->getLocale().'.html';
|
$path = $destDir.'/'.$name.'.'.$this->translator->getTranslator()->getLocale().'.html';
|
||||||
|
|
||||||
$html = $this->twig->render($template, $vars);
|
$html = $this->twig->render($template, $vars);
|
||||||
$html = $this->minifier->minify($html);
|
//$html = $this->minifier->minify($html);
|
||||||
if (!file_put_contents($path, $html)) {
|
if (!file_put_contents($path, $html)) {
|
||||||
throw new \RuntimeException('Error writing output file: '.$path);
|
throw new \RuntimeException('Error writing output file: '.$path);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user