merge
authorFlorent <florent@secondweb.fr>
Thu, 30 Jul 2009 22:36:01 +0200
changeset 2581 2833df289165
parent 2580 6e9453fd11ef (diff)
parent 2578 b717ebef04d8 (current diff)
child 2582 504ac00ff33b
merge
--- a/web/views/basetemplates.py	Thu Jul 30 19:00:57 2009 +0200
+++ b/web/views/basetemplates.py	Thu Jul 30 22:36:01 2009 +0200
@@ -138,7 +138,8 @@
         w = self.whead
         lang = self.req.lang
         self.write_doctype()
-        w(u'<base href="%s" />' % xml_escape(self.req.base_url()))
+        # explictly close the <base> tag to avoid IE 6 bugs while browsing DOM
+        w(u'<base href="%s"></base>' % xml_escape(self.req.base_url()))
         w(u'<meta http-equiv="content-type" content="%s; charset=%s"/>\n'
           % (content_type, self.req.encoding))
         w(u'\n'.join(additional_headers) + u'\n')