merge
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 31 Jul 2009 07:38:53 +0200
changeset 2582 504ac00ff33b
parent 2579 e69b2342bd8b (current diff)
parent 2581 2833df289165 (diff)
child 2584 da978b98a762
merge
--- a/web/views/basetemplates.py	Thu Jul 30 19:55:27 2009 +0200
+++ b/web/views/basetemplates.py	Fri Jul 31 07:38:53 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')