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