Переделана статья про гадалку

This commit is contained in:
2019-06-28 22:35:49 +03:00
parent 843f743258
commit 50e0624c2c
7 changed files with 106 additions and 120 deletions

View File

@ -49,8 +49,7 @@ class HtmlPrettier implements EventSubscriberInterface
foreach ($sourceSet->allSources() as $source) {
$filename = $source->filename();
$isSuitable = $filename === 'sitemap.xml'
|| $this->endsWith($filename, '.md')
$isSuitable = $this->endsWith($filename, '.md')
|| $this->endsWith($filename, '.html.twig')
;