aboutsummaryrefslogtreecommitdiffstats
path: root/include/smarty
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2016-01-26 15:03:10 +0100
committerplegall <plg@piwigo.org>2016-01-26 15:03:10 +0100
commit74dd9b88edc7bff65bd34e8bca91f8838600fd3a (patch)
tree79a4de6283740cc07c3305b2e0eaed9680d50875 /include/smarty
parent69cdcf2316cefde2246cdb2b0cd3926644695233 (diff)
parent025bc0533dc6940194fbc315e72dc0905e351518 (diff)
Merge branch 'bug/405-css-emails'
Diffstat (limited to 'include/smarty')
-rw-r--r--include/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php b/include/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php
index 2c9c4ecc3..6c3ea5f5d 100644
--- a/include/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php
+++ b/include/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php
@@ -812,7 +812,7 @@ abstract class Smarty_Internal_TemplateCompilerBase
'#(([a-z0-9]\s*=\s*("[^"]*?")|(\'[^\']*?\'))|<[a-z0-9_]+)\s+([a-z/>])#is' => '\1 \5',
'#^\s+<#Ss' => '<',
'#>\s+$#Ss' => '>',
- $this->stripRegEx => ' ');
+ $this->stripRegEx => '');
$text = preg_replace(array_keys($expressions), array_values($expressions), $text);
$_offset = 0;
@@ -828,7 +828,7 @@ abstract class Smarty_Internal_TemplateCompilerBase
}
}
} else {
- $text = preg_replace($this->stripRegEx, ' ', $text);
+ $text = preg_replace($this->stripRegEx, '', $text);
}
}
return new Smarty_Internal_ParseTree_Text($text);