changeset 73:d79a50e0a42d

remove unused output_mimetype, hardcode output_charset (we'll ever use utf-8)
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 06 Mar 2011 01:36:16 +0100
parents f8976b828425
children 079c61438b3f
files MoinMoin/templates/base.html MoinMoin/themes/__init__.py
diffstat 2 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/templates/base.html	Sat Mar 05 23:20:45 2011 +0100
+++ b/MoinMoin/templates/base.html	Sun Mar 06 01:36:16 2011 +0100
@@ -7,7 +7,7 @@
 <head>
 {% block head %}
     {% block head_meta %}
-    <meta charset="{{ theme_supp.output_charset }}" />{# must be at the beginning #}
+    <meta charset="utf-8" />{# must be at the beginning #}
     {% if pi_refresh -%}
         {{ '<meta http-equiv="refresh" content="%d;URL=%s" />' % pi_refresh }}
     {%- endif %}
--- a/MoinMoin/themes/__init__.py	Sat Mar 05 23:20:45 2011 +0100
+++ b/MoinMoin/themes/__init__.py	Sun Mar 06 01:36:16 2011 +0100
@@ -61,8 +61,6 @@
         self.cfg = cfg
         self.user = flaskg.user
         self.storage = flaskg.storage
-        self.output_mimetype = 'text/html'  # was: page.output_mimetype
-        self.output_charset = 'utf-8'  # was: page.output_charset
         self.ui_lang = 'en' # XXX
         self.ui_dir = 'ltr' # XXX
         self.content_lang = flaskg.content_lang # XXX