mirror of
https://github.com/beetbox/beets.git
synced 2025-12-06 00:24:25 +01:00
Update Pandoc wrap CLI flag
This commit is contained in:
parent
8a453b6ec8
commit
298050f369
1 changed files with 1 additions and 1 deletions
|
|
@ -166,7 +166,7 @@ def rst2md(text):
|
|||
"""Use Pandoc to convert text from ReST to Markdown.
|
||||
"""
|
||||
pandoc = subprocess.Popen(
|
||||
['pandoc', '--from=rst', '--to=markdown', '--no-wrap'],
|
||||
['pandoc', '--from=rst', '--to=markdown', '--wrap=none'],
|
||||
stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE
|
||||
)
|
||||
stdout, _ = pandoc.communicate(text.encode('utf-8'))
|
||||
|
|
|
|||
Loading…
Reference in a new issue