Georg Brandl  committed c5f0f2e

Handle raw nodes in the ``text`` writer.

  • Participants
  • Parent commits 8e8e7aa
  • Branches default

Comments (0)

Files changed (2)

 Release 0.6.6 (in development)
+* Handle raw nodes in the ``text`` writer.
 * Fix a problem the Qt help project generated by the ``qthelp``
   builder that would lead to no content being displayed in the Qt

File sphinx/writers/

         # only valid for HTML
         raise nodes.SkipNode
+    def visit_raw(self, node):
+        if 'text' in node.get('format', '').split():
+            self.body.append(node.astext())
+        raise nodes.SkipNode
     def unknown_visit(self, node):
         raise NotImplementedError('Unknown node: ' + node.__class__.__name__)