fix(format): Insert paragraph-break separators between changelog blocks #91 #92
No reviewers
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
dunwright/git-herald!92
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "issue-91"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Distinct blockquote blocks within a changelog entry (breaking-change
description, dev notes, doc notes, Closes line, Refs line) were
emitted as consecutive
> ...lines. Per CommonMark, consecutiveblockquote lines collapse into a single wrapped paragraph in the
rendered HTML -- which is what every spec-compliant renderer
(Forgejo, GitHub, GitLab, Codeberg) does. The result was a wall of
running text where distinct sections were meant to be visually
separate.
Inserts a blank
>line between each emitted block, which producesa paragraph break inside the same blockquote. Renderers now display
each block as its own visual paragraph.
Fixed in format() rather than per-renderer because the underlying
behaviour is part of CommonMark, not a renderer quirk; matching the
spec produces correct output everywhere.
This is the visible-output companion to the multi-line content fix
(#82). That fix made the source markdown correct; this fix makes
the rendered output look correct too. The format() method now joins
blockquote blocks with a paragraph-break separator, mirroring the
blank-line convention that already worked for multi-paragraph
content within a single block.
"""
Changelog entries with multiple blockquote sections (dev notes, doc
notes, Closes, Refs) now display as distinct paragraphs in the
rendered changelog rather than a wrapped wall of text. No action
needed; existing entries will look right on the next release.
"""
Closes #91
Refs #89