mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fixed bug that clipped the end of bodies.
This commit is contained in:
parent
9e81b8f003
commit
c894c38cd3
@ -59,3 +59,8 @@ class WebSupportTranslator(HTMLTranslator):
|
||||
self.in_commentable = False
|
||||
self.body = []
|
||||
|
||||
def depart_document(self, node):
|
||||
assert(not self.in_commentable)
|
||||
self.support_document.add_slice(''.join(self.body))
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user