Re: Bug in Smarty popup
| From: | Monte Ohrt | Date: | Wed, 10 Oct 2001 16:31:50 +0000 |
| Subject: | Re: Bug in Smarty popup | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-1669@lists.php.net to get a copy of this message | ||
hmm, actually all the text should get surrounded by single quotes, and
single quotes are automatically escaped. I'm not sure why the double
quote is causing you problems.
LIMBOURG Arnaud wrote:
>
> Hello all,
>
> There seem to be a bug in the popup function.
>
> When you pass a TEXT containing quotes " it crashes (writing part of the
> javascript as HTML and showing a JS error.
>
> Am I the only one in that case ?
>
> Arnaud.
>
> ---
> You are currently subscribed to smarty as: monte@ispi.net
> To unsubscribe send a blank email to $subst('Email.Unsub')
> Visit Smarty's homepage at
> http://www.phpinsider.com/php/code/Smarty/
--
Monte Ohrt <monte@ispi.net>
http://www.ispi.net/