diff options
| author | Uwe Tews <uwe.tews@googlemail.com> | 2015-07-01 10:54:45 +0200 |
|---|---|---|
| committer | Uwe Tews <uwe.tews@googlemail.com> | 2015-07-01 10:54:45 +0200 |
| commit | e5bea506afc5c185474367eb06a336ac48d7b99a (patch) | |
| tree | e4c9c68387e2e6569174733db680c3621f3057ab /libs/debug.tpl | |
| parent | a756ce3d9eb8e3f775916581d833c23157450099 (diff) | |
| download | smarty-e5bea506afc5c185474367eb06a336ac48d7b99a.tar.gz smarty-e5bea506afc5c185474367eb06a336ac48d7b99a.tar.bz2 smarty-e5bea506afc5c185474367eb06a336ac48d7b99a.zip | |
- bugfix debugging console did not display string values containing \n, \r or \t correctly https://github.com/smarty-php/smarty/issues/66
Diffstat (limited to 'libs/debug.tpl')
| -rw-r--r-- | libs/debug.tpl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/debug.tpl b/libs/debug.tpl index 5b09c5bd..1f77ac62 100644 --- a/libs/debug.tpl +++ b/libs/debug.tpl @@ -128,7 +128,7 @@ <tr class="{if $vars@iteration % 2 eq 0}odd{else}even{/if}"> <td><h3><font color=blue>${$vars@key}</font></h3> {if isset($vars['nocache'])}<b>Nocache</b></br>{/if} - {if isset($vars['scope'])}<b>Origin:</b> {$vars['scope']|debug_print_var:10:80 nofilter}{/if} + {if isset($vars['scope'])}<b>Origin:</b> {$vars['scope']|debug_print_var nofilter}{/if} </td> <td><h3>Value</h3>{$vars['value']|debug_print_var:10:80 nofilter}</td> <td>{if isset($vars['attributes'])}<h3>Attributes</h3>{$vars['attributes']|debug_print_var nofilter} {/if}</td> @@ -141,7 +141,7 @@ {foreach $config_vars as $vars} <tr class="{if $vars@iteration % 2 eq 0}odd{else}even{/if}"> <td><h3><font color=blue>#{$vars@key}#</font></h3> - {if isset($vars['scope'])}<b>Origin:</b> {$vars['scope']|debug_print_var:10:80 nofilter}{/if} + {if isset($vars['scope'])}<b>Origin:</b> {$vars['scope']|debug_print_var nofilter}{/if} </td> <td>{$vars['value']|debug_print_var:10:80 nofilter}</td> </tr> @@ -154,7 +154,7 @@ <script type="text/javascript"> {$id = ''} {if $display_mode}{$id = "$offset$template_name"|md5}{/if} - _smarty_console = window.open("", "console{$id}", "width=680,height=600,left={$offset},top={$offset},resizable,scrollbars=yes"); + _smarty_console = window.open("", "console{$id}", "width=1024,height=600,left={$offset},top={$offset},resizable,scrollbars=yes"); _smarty_console.document.write("{$debug_output|escape:'javascript' nofilter}"); _smarty_console.document.close(); </script> |
