equal
deleted
inserted
replaced
750 return 'application/xhtml+xml' |
750 return 'application/xhtml+xml' |
751 return 'text/html' |
751 return 'text/html' |
752 |
752 |
753 def document_surrounding_div(self): |
753 def document_surrounding_div(self): |
754 if self.xhtml_browser(): |
754 if self.xhtml_browser(): |
755 return (u'<?xml version="1.0"?>\n' + STRICT_DOCTYPE + |
755 return (u'<?xml version="1.0"?>\n' + STRICT_DOCTYPE + # XXX encoding ? |
756 u'<div xmlns="http://www.w3.org/1999/xhtml" xmlns:cubicweb="http://www.logilab.org/2008/cubicweb">') |
756 u'<div xmlns="http://www.w3.org/1999/xhtml" xmlns:cubicweb="http://www.logilab.org/2008/cubicweb">') |
757 return u'<div>' |
757 return u'<div>' |
758 |
758 |
759 from cubicweb import set_log_methods |
759 from cubicweb import set_log_methods |
760 set_log_methods(CubicWebRequestBase, LOGGER) |
760 set_log_methods(CubicWebRequestBase, LOGGER) |