summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--template/en/default/global/header.html.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/template/en/default/global/header.html.tmpl b/template/en/default/global/header.html.tmpl
index 511b778e6..11899dd45 100644
--- a/template/en/default/global/header.html.tmpl
+++ b/template/en/default/global/header.html.tmpl
@@ -101,8 +101,8 @@
#%]
<body bgcolor="[% bgcolor %]" onload="[% onload %]"
- id="[% Param('urlbase').replace('^https?://','').replace('/$','').replace('[@:/.]','-') %]"
- [% bodyattrs %]>
+ id="[% Param('urlbase').replace('^https?://','').replace('/$','').replace('[-~@:/.]+','-') %]"
+ [%+ bodyattrs %]>
[%# Migration note: the following file corresponds to the old Param
# 'bannerhtml'