Merge branch 'bug/405-css-emails'

This commit is contained in:
plegall
2016-01-26 15:03:10 +01:00
4 changed files with 2 additions and 8 deletions
@@ -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);
@@ -1,4 +1,3 @@
{strip}
/* page */
body {
font-family:"Verdana", "Helvetica", "Optima", sans-serif;
@@ -102,4 +101,3 @@ hr {
border-style:solid;
margin:1em;
}
{/strip}
@@ -1,4 +1,3 @@
{strip}
/* page */
body {
color:#111;
@@ -70,4 +69,3 @@ blockquote {
background:#eee;
border-right:1px solid #fff;
}
{/strip}
@@ -1,4 +1,3 @@
{strip}
/* page */
body {
color:#fff;
@@ -84,4 +83,3 @@ blockquote {
hr {
border-color:#555;
}
{/strip}