[BUG]: dev-notes/doc-notes dont render second line correctly #82

Closed
opened 2026-04-23 22:54:44 +00:00 by imAsparky · 0 comments
Owner

Before you submit

  • I have searched existing issues and this is not a duplicate
  • I have read the documentation

Action Version

1

Forgejo Version

15.0.0

Python Version

3.13

Runner OS

debian

Describe the Bug

Commit format supports multi-line content inside, for example

feat(payments): add stripe checkout button #42

[dev-notes]:
"""
PaymentContext now exposes a usePaymentButton hook.
Legacy PaymentButton is deprecated — removal planned for next major.
"""

The parser captures that two-line block correctly. The dev_notes field on the ChangelogEntry ends up as a string containing a literal newline character between "hook." and "Legacy PaymentButton".

Steps to Reproduce

pull PR

Expected Behaviour

dev-notes and doc-notes render correctly

Workflow Configuration

No response

Relevant Action Logs

No response

Additional Context

No response

### Before you submit - [x] I have searched existing issues and this is not a duplicate - [x] I have read the documentation ### Action Version 1 ### Forgejo Version 15.0.0 ### Python Version 3.13 ### Runner OS debian ### Describe the Bug Commit format supports multi-line content inside, for example ```text feat(payments): add stripe checkout button #42 [dev-notes]: """ PaymentContext now exposes a usePaymentButton hook. Legacy PaymentButton is deprecated — removal planned for next major. """ ``` The parser captures that two-line block correctly. The dev_notes field on the ChangelogEntry ends up as a string containing a literal newline character between "hook." and "Legacy PaymentButton". ### Steps to Reproduce pull PR ### Expected Behaviour dev-notes and doc-notes render correctly ### Workflow Configuration _No response_ ### Relevant Action Logs _No response_ ### Additional Context _No response_
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
dunwright/git-herald#82
No description provided.