def to_html(self):
"""
Return a cleaned up HTML representation of this Google
Document.
"""
return render_to_string('google_doc.html', {
'nav': self._navigation_html(),
'content': '\n'.join([s.to_html() for s in self._sections])})
评论列表
文章目录