Neos.Fusion/Classes/Core/ExceptionHandlers/AbstractRenderingExceptionHandler.php
protected function formatScriptPath($fusionPath, $delimiter, $escapeHtml = true)
    {
        if ($escapeHtml) {
            $fusionPath = htmlspecialchars($fusionPath);
        }
        // TODO: hardcoded parsing?! where is the library for that
        $elements = explode('/', $fusionPath);

        return implode('/' . $delimiter, $elements);
    }
protected function formatScriptPath($fusionPath, $delimiter, $escapeHtml = true)
    {
        if ($escapeHtml) {
            $fusionPath = htmlspecialchars($fusionPath);
        }
        // TODO: hardcoded parsing?! where is the library for that
        $elements = explode('/', $fusionPath);

        return implode('/' . $delimiter, $elements);
    }
protected function formatScriptPath ( $ fusionPath , $ delimiter , $ escapeHtml = true ) { if ( $ escapeHtml ) { $ fusionPath = htmlspecialchars ( $ fusionPath ) ; } // TODO: hardcoded parsing?! where is the library for that $ elements = explode ( '/' , $ fusionPath ) ; return implode ( '/' . $ delimiter , $ elements ) ; }
breaks the given path to multiple line to allow a nicer formatted logging

example:
formatScriptPath('page<Page>/body<Template>/content/main<ContentCollection>', ''):
page<Page>/body<Template>/content/main<ContentCollection>

formatScriptPath('page<Page>/body<Template>/content/main<ContentCollection>', '\n\t\t'):
page<Page>/
body<Template>/
content/
main<ContentCollection>'

@param string $fusionPath path to format
@param string $delimiter path element delimiter
@param bool $escapeHtml indicates whether to escape html-characters in the given path
@return string
breaks the given path to multiple line to allow a nicer formatted logging