*** empty log message ***

This commit is contained in:
andrey
2000-12-04 22:30:15 +00:00
parent 8870f9cae5
commit 70a2557b29
4 changed files with 14 additions and 4 deletions

View File

@@ -385,7 +385,12 @@ class Smarty
return "";
/* Split tag into two parts: command and the arguments. */
list($tag_command, $tag_args) = preg_split('!\s+!', $template_tag, 2);
preg_match('/^(
(?:"[^"\\\\]*(?:\\\\.[^"\\\\]*)*" | \'[^\'\\\\]*(?:\\\\.[^\'\\\\]*)*\' | (?>[^"\' ]+))+
)
(?:\s+(.*))?
/x', $template_tag, $match);
list(, $tag_command, $tag_args) = $match;
/* If the tag name matches a variable or section property definition,
we simply process it. */

View File

@@ -14,8 +14,8 @@ My interests are:
{else}
* {$outer/FirstName} {$outer/LastName}
{/if}
{$outer/date|date_format:"%B %d, %Y"}
{sectionelse}
none
{/section}
{html_options values=#title# output=$FirstName|replace:"a":"@"}

View File

@@ -385,7 +385,12 @@ class Smarty
return "";
/* Split tag into two parts: command and the arguments. */
list($tag_command, $tag_args) = preg_split('!\s+!', $template_tag, 2);
preg_match('/^(
(?:"[^"\\\\]*(?:\\\\.[^"\\\\]*)*" | \'[^\'\\\\]*(?:\\\\.[^\'\\\\]*)*\' | (?>[^"\' ]+))+
)
(?:\s+(.*))?
/x', $template_tag, $match);
list(, $tag_command, $tag_args) = $match;
/* If the tag name matches a variable or section property definition,
we simply process it. */

View File

@@ -14,8 +14,8 @@ My interests are:
{else}
* {$outer/FirstName} {$outer/LastName}
{/if}
{$outer/date|date_format:"%B %d, %Y"}
{sectionelse}
none
{/section}
{html_options values=#title# output=$FirstName|replace:"a":"@"}