diff --git a/src/Legacy/Template.php b/src/Legacy/Template.php index b0bdc80db..198baf8dc 100644 --- a/src/Legacy/Template.php +++ b/src/Legacy/Template.php @@ -766,7 +766,7 @@ class Template // This will handle the remaining root-level varrefs $code = preg_replace('#\{(L_([a-z0-9\-_]+?))\}#i', '', $code); $code = preg_replace('#\{(\$[a-z_][a-z0-9_$\->\'\"\.\[\]]*?)\}#i', '', $code); - $code = preg_replace('#\{(\#([a-z_][a-z0-9_]*?))\}#i', '', $code); + $code = preg_replace('#\{(\#([a-z_][a-z0-9_]*?)\#)\}#i', '', $code); $code = preg_replace('#\{([a-z0-9\-_]+?)\}#i', '', $code); return $code; } diff --git a/styles/templates/default/page_header.tpl b/styles/templates/default/page_header.tpl index f36e187c2..de3ec519b 100644 --- a/styles/templates/default/page_header.tpl +++ b/styles/templates/default/page_header.tpl @@ -33,7 +33,7 @@ var hidePostImg = false;