From: Günter M. <mi...@us...> - 2022-07-06 07:47:41
|
- **status**: open-fixed --> closed-fixed - **Comment**: Fixed in release 0.19. Thank you for the report. --- ** [bugs:#435] invalid references in "problematic" nodes with report_level=4** **Status:** closed-fixed **Created:** Tue Nov 16, 2021 04:50 PM UTC by Dmitry Shachnev **Last Updated:** Fri Feb 04, 2022 08:40 AM UTC **Owner:** nobody I don’t know if you will consider it a bug, but I decided to report it nevertheless. When input reStructuredText has errors and you silence them with report_level=4, the following HTML will be generated: ```python >>> from docutils.core import publish_parts >>> parts = publish_parts('`', settings_overrides={'report_level': 4}, writer_name='html5') >>> print(parts['html_body']) <main> <p><a href="#system-message-1"><span class="problematic" id="problematic-1">`</span></a></p> </main> ``` The link is pointing to `#system-message-1`, however there is no element with `id="system-message-id"` because the warning itself was not generated. --- 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. |