Merge pull request #6624 from nicoddemus/gh-notes-wrap
Use --wrap=preserve in release notes script
This commit is contained in:
commit
ef283efc42
|
@ -61,7 +61,9 @@ def parse_changelog(tag_name):
|
||||||
|
|
||||||
|
|
||||||
def convert_rst_to_md(text):
|
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):
|
def main(argv):
|
||||||
|
|
Loading…
Reference in New Issue