Re: [SMARTY-DEV] Re: [SMARTY] Re: Smarty 2.6.0 RC1 Released
| From: | Monte Ohrt | Date: | Wed, 13 Aug 2003 13:59:43 +0000 |
| Subject: | Re: [SMARTY-DEV] Re: [SMARTY] Re: Smarty 2.6.0 RC1 Released | ||
| References: | 1 2 3 | Groups: | php.smarty.dev php.smarty.general |
| Request: | Send a blank email to php-smarty-dev+get-1749@lists.php.net to get a copy of this message | ||
It think they are there purely for the readability of the created code.
I take it some browsers don't work the same way? They can probably be
safely removed anyways.
On Wed, 2003-08-13 at 08:45, messju mohr wrote:
> i think they where intended as "<br>\r" and not '<br>\r' . if
> they
> where meant as '\r' literally to be javascript-escaped debug_print_var
> is obviously the wrong place to do so, since it is used in the html-
> and the javascript-version of debug.tpl . correct me if these
> assumptions are wrong.
>
> any omissions from anyone to remove them fully and only using '<br>'
> here?
>
>
> On Wed, Aug 13, 2003 at 05:20:20PM +0400, Konstantin A. Pelepelin wrote:
> > >Smarty 2.6.0 RC1 Released
> >
> >
> > Please consider my small cosmetic wish again:
> >
> >
> > In RC, if I set
> >
> > assign('_smarty_debug_output','html');
> >
> >
> > debug output looks bad, like this:
> >
> >
> > Array (5)
> >
> > \rid => 1
> >
> > \rlogin => user
> >
> > \rfirst_name => empty
> >
> > \rlast_name => empty
> >
> > \rnick => user
> >
> >
> > There is no need for that '\r' neither in javascript, nor in html mode,
> > because they are just after br's.
> >
> > Remove them.
> >
> >
> > (See:
> > http://lists.php.net/article.php?group=php.smarty.dev&article=1684
> > )
> >
> >
> > Thank you,
> > Konstantin A. Pelepelin
> >
> > --
> > Smarty General Mailing List (http://smarty.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php