mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
Merge branch 'bug/405-css-emails'
This commit is contained in:
@@ -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}
|
||||
Reference in New Issue
Block a user