You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Sub documents in bulleted list results in extra blank lines #574
I just noticed this results in my extra bullet points at the bottom of the page, seemingly disconnected from the for loop. If this could be looked at, it would be greatly appreciated.
@mehdiammar fyi, Docform (the maintained fork at https://github.com/cvas22/docform, docform on PyPI) now documents that subdocs in a loop need {{p item }} alone in their paragraph inside a {%p for %} block, which removes the blank lines. That's in cvas22/docform#180.
Activity
mehdiammar commentedon Nov 18, 2024
For those facing the same issue, try:
{%p for item in list %}
a) {{ item }}{% endfor %}
mehdiammar commentedon Nov 19, 2024
I just noticed this results in my extra bullet points at the bottom of the page, seemingly disconnected from the for loop. If this could be looked at, it would be greatly appreciated.
cvas22 commentedon Nov 22, 2026
@mehdiammar fyi, Docform (the maintained fork at https://github.com/cvas22/docform,
docformon PyPI) now documents that subdocs in a loop need{{p item }}alone in their paragraph inside a{%p for %}block, which removes the blank lines. That's in cvas22/docform#180.