Skip to content

Commit

Permalink
changelog.py: Improve linebreak placeholder handling
Browse files Browse the repository at this point in the history
  • Loading branch information
lukash committed Mar 29, 2024
1 parent 7a49144 commit e358c5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion refloat/changelog.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@


def format_entry(entry, author):
entry = re.sub(" *> *", "\n \n ", entry)
entry = re.sub(" +> +", "\n \n ", entry)

if author.email != maintainer:
if "\n" in entry:
Expand Down

0 comments on commit e358c5d

Please sign in to comment.