diff options
-rw-r--r-- | template/en/default/filterexceptions.pl | 1 | ||||
-rw-r--r-- | template/en/default/global/header.html.tmpl | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/template/en/default/filterexceptions.pl b/template/en/default/filterexceptions.pl index 3f9f9ab01..e90037f87 100644 --- a/template/en/default/filterexceptions.pl +++ b/template/en/default/filterexceptions.pl @@ -253,7 +253,6 @@ 'global/header.html.tmpl' => [ 'javascript', 'style', - 'style_url', 'bgcolor', 'onload', 'bodyattrs', diff --git a/template/en/default/global/header.html.tmpl b/template/en/default/global/header.html.tmpl index b67fdfafa..511b778e6 100644 --- a/template/en/default/global/header.html.tmpl +++ b/template/en/default/global/header.html.tmpl @@ -74,7 +74,7 @@ [% IF javascript_urls %] [% FOREACH javascript_url = javascript_urls %] - <script src="[% javascript_url %]" type="text/javascript" language="JavaScript"></script> + <script src="[% javascript_url FILTER html %]" type="text/javascript" language="JavaScript"></script> [% END %] [% END %] @@ -90,7 +90,7 @@ [% IF style_urls %] [% FOREACH style_url = style_urls %] - <link href="[% style_url %]" rel="stylesheet" type="text/css"> + <link href="[% style_url FILTER html %]" rel="stylesheet" type="text/css"> [% END %] [% END %] |