From 6c0b7f9ac6630c459a46dc9ece8c247f6f661db8 Mon Sep 17 00:00:00 2001 From: Lars Erik Wik Date: Wed, 22 Apr 2026 17:31:41 +0200 Subject: [PATCH] changelog-generator: Emit markdown bullets without leading tabs The CHANGELOG.md format no longer uses tab indentation for entries, so drop the tab from the bullet prefix and continuation indent. Signed-off-by: Lars Erik Wik (cherry picked from commit 8e4d7bec6df941468b13d99d893ac36c3dab0d7d) --- misc/changelog-generator/changelog-generator | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/misc/changelog-generator/changelog-generator b/misc/changelog-generator/changelog-generator index 469cd1e1d8..8e5f310740 100755 --- a/misc/changelog-generator/changelog-generator +++ b/misc/changelog-generator/changelog-generator @@ -254,12 +254,12 @@ for sha_entry in ENTRIES: if SORT_CHANGELOG: entry_list.sort() for entry in entry_list: - entry = "\t- " + entry + entry = "- " + entry # Blank lines look bad in changelog because entries don't have blank lines # between them, so remove that from commit messages. entry = re.sub("\n\n+", "\n", entry) - # Indent all lines. - entry = entry.replace("\n", "\n\t ") + # Indent continuation lines to align with the bullet text. + entry = entry.replace("\n", "\n ") print(entry) for missed in POSSIBLE_MISSED_TICKETS: