diff --git a/application/Espo/Core/Utils/Layout.php b/application/Espo/Core/Utils/Layout.php index 4984153bee..df9bc16440 100644 --- a/application/Espo/Core/Utils/Layout.php +++ b/application/Espo/Core/Utils/Layout.php @@ -136,7 +136,7 @@ class Layout } $layoutPath = $this->getLayoutPath($controllerName, true); - $data = Json::encode($layoutData); + $data = Json::encode($layoutData, \JSON_PRETTY_PRINT); $result &= $this->getFileManager()->putContents(array($layoutPath, $layoutName.'.json'), $data); }