From: Adam T. <aa-...@us...> - 2022-05-31 17:20:38
|
--- ** [bugs:#449] Image has no line number with an `:alt:` attribute** **Status:** open **Created:** Tue May 31, 2022 05:20 PM UTC by Adam Turner **Last Updated:** Tue May 31, 2022 05:20 PM UTC **Owner:** nobody Reproducer: ```pycon >>> print(core.publish_doctree(".. image:: placeholder_image.jpg")[0].line) 1 >>> print(core.publish_doctree(".. image:: placeholder_image.jpg\n :alt: blah")[0].line) None ``` This is rather odd! Originally found whilst debugging a Sphinx issue. A --- Sent from sourceforge.net because doc...@li... is subscribed to https://sourceforge.net/p/docutils/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |