Takayuki Shimizukawa  committed ba21252

figure-caption work-around set int or None to node.line instead of empty string.

  • Participants
  • Parent commits 5d0d96c
  • Branches default

Comments (0)

Files changed (1)

File sphinx/util/

         if isinstance(node, nodes.caption) and not node.source:
             node.source = node.parent.source
-            node.line = ''  #need fix docutils to get `node.line`
+            node.line = 0  #need fix docutils to get `node.line`
         if not node.source:
             continue # built-in message