Example #1
0
 def visit_topic(self, node):
     # For now we just strip out dedication, abstract since I don't know how to set them nicely
     if node.get("classes") in [['dedication'], ['abstract']]:
         self.real_body = self.body
         self.body = dummy_body
         return
     HTMLTranslator.visit_topic(self, node)