From: Günter M. <mi...@us...> - 2022-06-01 21:49:42
|
- **status**: open --> closed-duplicate --- ** [bugs:#449] Image has no line number with an `:alt:` attribute** **Status:** closed-duplicate **Created:** Tue May 31, 2022 05:20 PM UTC by Adam Turner **Last Updated:** Wed Jun 01, 2022 09:41 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. |