Use --wrap=preserve in release notes script

Follow up to #6621 after premature merge
This commit is contained in:
Bruno Oliveira 2020-01-29 20:28:04 -03:00
parent 757873edb3
commit 6d7e06e6be
1 changed files with 3 additions and 1 deletions

View File

@ -61,7 +61,9 @@ def parse_changelog(tag_name):
def convert_rst_to_md(text):
return pypandoc.convert_text(text, "md", format="rst", extra_args=["--wrap=none"])
return pypandoc.convert_text(
text, "md", format="rst", extra_args=["--wrap=preserve"]
)
def main(argv):