From 727b9827afbba94be2cb7ed99f036f86ef9bd06e Mon Sep 17 00:00:00 2001 From: plegall Date: Fri, 22 Jan 2016 21:57:24 +0100 Subject: Revert "bug #405 fixed, embed CSS style inline" This reverts commit f3cb99ea09d5a490758febba6b22d28bbab3b356. --- .../smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') 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); -- cgit v1.2.3