Skip to content

Commit 2dea6e8

Browse files
committed
Add comments to describe these calls
1 parent 0ad1e5d commit 2dea6e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/github/commands/rest2html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ class GitHubHTMLTranslator(HTMLTranslator):
6666
# see also: http://bit.ly/1exfq2h (warning! sourceforge link.)
6767
def depart_document(self, node):
6868
HTMLTranslator.depart_document(self, node)
69-
self.html_body.pop(0)
70-
self.html_body.pop()
69+
self.html_body.pop(0) # pop the starting <div> off
70+
self.html_body.pop() # pop the ending </div> off
7171

7272
# technique for visiting sections, without generating additional divs
7373
# see also: http://bit.ly/NHtyRx

0 commit comments

Comments
 (0)