Commits

Georg Brandl committed 1492129

Don't put image "alt" text into table-of-contents entries.

  • Participants
  • Parent commits 9ba927d

Comments (0)

Files changed (2)

 Release 0.6.2 (in development)
 ==============================
 
+* Don't put image "alt" text into table-of-contents entries.
+
 * In the LaTeX writer, do not raise an exception on too many section
   levels, just use the "subparagraph" level for all of them.
 

File sphinx/environment.py

         self.parent.append(nodes.literal(text, text))
         raise nodes.SkipNode
 
+    def visit_image(self, node):
+        raise nodes.SkipNode
+
 
 class BuildEnvironment:
     """