Menu

#137 Fix no source and lineno was set to caption of table

None
closed-fixed
nobody
None
5
2017-02-28
2017-02-18
No

In Sphinx, we use source and line information of text nodes for I18N feature.

In docutils-0.13.2, it seems a caption of table does not have both attributes. The table node (parent) don't have also.
The attached patch sets the source and line information to the caption node.

Could you review this please?

Note: it seems there are no test cases for source and lines. So I simply added the directive code. Please let me know if any good place to do that.

Thanks,

1 Attachments

Discussion

  • Günter Milde

    Günter Milde - 2017-02-28
    • status: open --> closed-fixed
     
  • Günter Milde

    Günter Milde - 2017-02-28

    Applied in Revision 8039.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.