equal
deleted
inserted
replaced
742 return 'application/xhtml+xml' |
742 return 'application/xhtml+xml' |
743 return 'text/html' |
743 return 'text/html' |
744 |
744 |
745 def document_surrounding_div(self): |
745 def document_surrounding_div(self): |
746 if self.xhtml_browser(): |
746 if self.xhtml_browser(): |
747 return (u'<?xml version="1.0"?>\n' + STRICT_DOCTYPE + |
747 return (u'<?xml version="1.0"?>\n' + STRICT_DOCTYPE + # XXX encoding ? |
748 u'<div xmlns="http://www.w3.org/1999/xhtml" xmlns:cubicweb="http://www.logilab.org/2008/cubicweb">') |
748 u'<div xmlns="http://www.w3.org/1999/xhtml" xmlns:cubicweb="http://www.logilab.org/2008/cubicweb">') |
749 return u'<div>' |
749 return u'<div>' |
750 |
750 |
751 from cubicweb import set_log_methods |
751 from cubicweb import set_log_methods |
752 set_log_methods(CubicWebRequestBase, LOGGER) |
752 set_log_methods(CubicWebRequestBase, LOGGER) |