Skip to content

Commit ef283ef

Browse files
authored
Merge pull request #6624 from nicoddemus/gh-notes-wrap
Use --wrap=preserve in release notes script
2 parents 10b1b79 + 6d7e06e commit ef283ef

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/publish-gh-release-notes.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,9 @@ def parse_changelog(tag_name):
6161

6262

6363
def convert_rst_to_md(text):
64-
return pypandoc.convert_text(text, "md", format="rst", extra_args=["--wrap=none"])
64+
return pypandoc.convert_text(
65+
text, "md", format="rst", extra_args=["--wrap=preserve"]
66+
)
6567

6668

6769
def main(argv):

0 commit comments

Comments
 (0)