[docutils:bugs] #505 Curious repeated paragraph
engelbert gruber via Docutils-develop <[email protected]> Tue, 01 Jul 2025 17:57:21 -0000
| Newsgroups | gmane.text.docutils.devel |
|---|---|
| Message-ID | </p/docutils/bugs/505/e8d8a481a8d8fc295324ed7808771f22d4e8569b.bugs@docutils.p.sourceforge.net> |
could you test with the prerelease make a env, install latest release candidate ~~~ mkdir testdir cd testdir python3 -m venv . . bin/activate pip install --pre docutils ~~~ run the test `rst2html dbl-par.rst` i do not get duplication --- **[bugs:#505] Curious repeated paragraph** **Status:** open **Created:** Thu Jun 26, 2025 06:38 PM UTC by Harmen **Last Updated:** Sat Jun 28, 2025 09:51 AM UTC **Owner:** nobody When the following is parsed, the line that says "this is repeated" appears **twice** as a paragraph. ``` ========= section 1 ========= --- abc --- this is repeated ========= section 2 ========= ``` It is fixed by: 1. Adding an additional newline after the sentence 2. Using 4 hyphens `----` instead of 3 `---` above and below `abc` 3. Removing the upper `---` Pandoc renders this as expected (at least by me). --- 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.