diff options
author | kiko%async.com.br <> | 2004-07-16 09:30:40 +0200 |
---|---|---|
committer | kiko%async.com.br <> | 2004-07-16 09:30:40 +0200 |
commit | ca56edb97f447bcb6aaba950528f5384219f1b36 (patch) | |
tree | 86f94a664be53bb008ba3cd4ecdad70e508d7e36 /template | |
parent | fe27d05648e12a122ece65163d6d79153ef9bfb8 (diff) | |
download | bugzilla-ca56edb97f447bcb6aaba950528f5384219f1b36.tar.gz bugzilla-ca56edb97f447bcb6aaba950528f5384219f1b36.tar.xz |
Bustage fix for bug 251469. Solve filtering issues with javascript_url,
which includes fixing style_url as well and removing it from
filterexceptions. r,a=justdave
Diffstat (limited to 'template')
-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 %] |