Re: [SMARTY-DEV] [bug] Config File: multiline
| From: | messju mohr | Date: | Wed, 05 Nov 2003 09:23:06 +0000 |
| Subject: | Re: [SMARTY-DEV] [bug] Config File: multiline | ||
| References: | 1 | Groups: | php.smarty.dev |
| Request: | Send a blank email to php-smarty-dev+get-1909@lists.php.net to get a copy of this message | ||
a fix is committed to cvs. thanks for pointing this one out!
On Mon, Nov 03, 2003 at 06:20:24PM +0100, Luca Borrione wrote:
> Hi all,
>
> with version 2.5.0, I'm using triple quotes to specify a value that
> spans more than one line.
>
> [section]
> foo = """
> Lorem ipsum dolor sit amet,
> coetetusadipscing elitr,
> sed diam nuaccusam et justo
> duo dolores ea rebum stet clita kasd.
> """
>
> Now, if I enclose something within [] as first chars e.g.
>
> [section]
> foo = """
> [1] Lorem ipsum dolor sit amet,
> coetetusadipscing elitr,
> sed diam nuaccusam et justo
> duo dolores ea rebum stet clita kasd.
> """
>
> a single quote *"* will be assigned to foo, while nothing else,
> included any other further var specify after *foo*,
> will be loaded.
>
>
> Cheers
> Luca