diff --git a/src/Renderer/FileRenderer.php b/src/Renderer/FileRenderer.php index 983d5c9..a2f3dfd 100755 --- a/src/Renderer/FileRenderer.php +++ b/src/Renderer/FileRenderer.php @@ -38,7 +38,9 @@ protected function renderFragment(AbstractRenderableFileFragment $fragment): str { $contents = file_get_contents($fragment->getAssetsPath()); foreach ($fragment->getConfiguration() as $key => $replacement) { - $value = $fragment->isJsonReplacement() ? json_encode($replacement, $fragment->getJsonEncodeOptions()) : $replacement; + $value = $fragment->isJsonReplacement() ? + json_encode($replacement, $fragment->getJsonEncodeOptions()) : + $replacement; $contents = str_replace($key, $value, $contents); } return $contents;