diff --git a/libs/debug.tpl b/libs/debug.tpl index 2e8b2402..fb1e2051 100644 --- a/libs/debug.tpl +++ b/libs/debug.tpl @@ -41,7 +41,7 @@ _smarty_console.document.write("Smarty Debug Console"); _smarty_console.document.write("included templates & config files (load time in seconds):"); {section name=templates loop=$_debug_tpls} - _smarty_console.document.write("{section name=indent loop=$_debug_tpls[templates].depth}   {/section}{$_debug_tpls[templates].filename|escape:javascript}{if isset($_debug_tpls[templates].exec_time)} ({$_debug_tpls[templates].exec_time|string_format:"%.5f"}){if %templates.index% eq 0} (total){/if}{/if}"); + _smarty_console.document.write("{section name=indent loop=$_debug_tpls[templates].depth}   {/section}{$_debug_tpls[templates].filename|escape:html|escape:javascript}{if isset($_debug_tpls[templates].exec_time)} ({$_debug_tpls[templates].exec_time|string_format:"%.5f"}){if %templates.index% eq 0} (total){/if}{/if}"); {sectionelse} _smarty_console.document.write("no templates included"); {/section}