Merge pull request #6624 from nicoddemus/gh-notes-wrap

Use --wrap=preserve in release notes script
This commit is contained in:
Bruno Oliveira 2020-01-29 22:36:42 -03:00 committed by GitHub
commit ef283efc42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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):