From e92225823bcccfb8649dd84161b212dde9a766f2 Mon Sep 17 00:00:00 2001 From: Dominique Fournier Date: Tue, 8 Jan 2019 11:24:21 +0000 Subject: [PATCH] outputhtml : bug in removing the not used tokens git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4823 bf3deb0d-5f1a-0410-827f-c0cc1f45334c --- outputhtml.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/outputhtml.php b/outputhtml.php index 6a7ddef..8aa6150 100644 --- a/outputhtml.php +++ b/outputhtml.php @@ -106,7 +106,7 @@ EOT; $layoutPage = str_replace ($key, $val, $layoutPage); // Remove the not used {XXX} - $layoutPage = preg_replace ("~({\S+})~", "", $layoutPage); + $layoutPage = preg_replace ("~({[\w_-]+})~", "", $layoutPage); //echo $layoutPage;exit; // Manage the timestamp/md5sum for the external files managed by this