Commit e8ec28d1 authored by Igor Dejanovic's avatar Igor Dejanovic

Fix in comments skipping.

parent f92ad9bd
...@@ -670,7 +670,7 @@ class Parser(object): ...@@ -670,7 +670,7 @@ class Parser(object):
def _skip_comments(self): def _skip_comments(self):
# We do not want to recurse into parsing comments # We do not want to recurse into parsing comments
if comments_model and not self.in_skip_comments: if self.comments_model and not self.in_skip_comments:
self.in_skip_comments = True self.in_skip_comments = True
comments = self.comments_model.parse(self) comments = self.comments_model.parse(self)
self.in_skip_comments = False self.in_skip_comments = False
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment