diff options
author | W. Trevor King <wking@drexel.edu> | 2009-08-07 13:12:08 -0400 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2009-08-07 13:12:08 -0400 |
commit | 8b420dfbd79404a91adfedf15ac174fc9a9a81eb (patch) | |
tree | bc411e977ea46f59c97cf206fc093d82f849a4d9 /becommands/html.py | |
parent | 233b6412d6164e45ab4a5a5f7d9c415330d9a27f (diff) | |
download | bugseverywhere-8b420dfbd79404a91adfedf15ac174fc9a9a81eb.tar.gz |
Respect bugdir's encoding in html generation
Diffstat (limited to 'becommands/html.py')
-rw-r--r-- | becommands/html.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/becommands/html.py b/becommands/html.py index 841e181..7ec5ddf 100644 --- a/becommands/html.py +++ b/becommands/html.py @@ -359,7 +359,7 @@ class BEHTMLGen(): <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>BugsEverywhere Issue Tracker</title> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta http-equiv="Content-Type" content="text/html; charset=%s" /> <link rel="stylesheet" href="style.css" type="text/css" /> </head> <body> @@ -371,14 +371,14 @@ class BEHTMLGen(): <table> <tr> - <td class=%s><a href="index.html">Active Bugs</a></td> - <td class=%s><a href="index_inactive.html">Inactive Bugs</a></td> + <td class=%%s><a href="index.html">Active Bugs</a></td> + <td class=%%s><a href="index_inactive.html">Inactive Bugs</a></td> </tr> </table> <table class=table_bug> <tbody> - """ + """ % self.bd.encoding self.bug_line =""" <tr class=%s-row cellspacing=1> @@ -394,7 +394,7 @@ class BEHTMLGen(): <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>BugsEverywhere Issue Tracker</title> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta http-equiv="Content-Type" content="text/html; charset=%s" /> <link rel="stylesheet" href="../style.css" type="text/css" /> </head> <body> @@ -402,11 +402,11 @@ class BEHTMLGen(): <div class="main"> <h1>BugsEverywhere Bug List</h1> - <h5><a href="%s">Back to Index</a></h5> + <h5><a href="%%s">Back to Index</a></h5> <h2>Bug: _bug_id_</h2> <table > <tbody> - """ + """ % self.bd.encoding |