summaryrefslogtreecommitdiff
path: root/lexer/smarty_internal_templatelexer.plex
diff options
context:
space:
mode:
authorUwe Tews <uwe.tews@gmail.com>2017-11-20 12:26:48 +0100
committerUwe Tews <uwe.tews@gmail.com>2017-11-20 12:26:48 +0100
commit40ea5d89daee1a9f7b9ef52e45530fd8a9fb9a65 (patch)
treec03359c36144867e9443ef2ace61aefaa0fa3715 /lexer/smarty_internal_templatelexer.plex
parentfcf108b33f0ae05fb7687bf5769cf658782e1504 (diff)
downloadsmarty-40ea5d89daee1a9f7b9ef52e45530fd8a9fb9a65.tar.gz
smarty-40ea5d89daee1a9f7b9ef52e45530fd8a9fb9a65.tar.bz2
smarty-40ea5d89daee1a9f7b9ef52e45530fd8a9fb9a65.zip
- replacement of " by '
Diffstat (limited to 'lexer/smarty_internal_templatelexer.plex')
-rw-r--r--lexer/smarty_internal_templatelexer.plex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lexer/smarty_internal_templatelexer.plex b/lexer/smarty_internal_templatelexer.plex
index 5908eaa6..95d575ce 100644
--- a/lexer/smarty_internal_templatelexer.plex
+++ b/lexer/smarty_internal_templatelexer.plex
@@ -530,7 +530,7 @@ class Smarty_Internal_Templatelexer
attr {
// resolve conflicts with shorttag and right_delimiter starting with '='
if (substr($this->data, $this->counter + strlen($this->value) - 1, $this->compiler->getRdelLength()) === $this->smarty->getRightDelimiter()) {
- preg_match("/\s+/",$this->value,$match);
+ preg_match('/\s+/',$this->value,$match);
$this->value = $match[0];
$this->token = Smarty_Internal_Templateparser::TP_SPACE;
} else {