[docutils:bugs] #346 reST parser warns twice for short underline
Günter Milde via Docutils-develop <[email protected]> Thu, 17 Apr 2025 21:50:54 -0000
| Newsgroups | gmane.text.docutils.devel |
|---|---|
| Message-ID | </p/docutils/bugs/346/e4ab34300cd260d0050f5c5994b7d335a52c1401.bugs@docutils.p.sourceforge.net> |
- **status**: open --> open-fixed - **Comment**: Fixed in [r10093]. Thank you for the report. --- **[bugs:#346] reST parser warns twice for short underline** **Status:** open-fixed **Created:** Sun Jul 29, 2018 11:37 AM UTC by Takeshi KOMIYA **Last Updated:** Sat Apr 05, 2025 09:56 AM UTC **Owner:** nobody reST parser warns twice if the underline for second heading is short. I think it is a bit verbose. Input: ~~~ $ cat helper.rst Issue #5214 =========== django_assert_num_queries ======== ~~~ Output (warnings): ~~~ $ rst2html.py helpers.rst > /dev/null helpers.rst:5: (WARNING/2) Title underline too short. django_assert_num_queries ======== helpers.rst:5: (WARNING/2) Title underline too short. django_assert_num_queries ======== ~~~ It seems the parser does not warn if the short underline appears at first. Note: originately this was reported to sphinx: https://github.com/sphinx-doc/sphinx/issues/5214 --- Sent from sourceforge.net because [email protected] 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.