[bug] Config File: multiline
| From: | Luca Borrione | Date: | Mon, 03 Nov 2003 17:20:24 +0000 |
| Subject: | [bug] Config File: multiline | ||
| Groups: | php.smarty.dev | ||
| Request: | Send a blank email to php-smarty-dev+get-1908@lists.php.net to get a copy of this message | ||
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