mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Fixed pandoc invocation while importing feeds
Newer version of `pandoc` normalize by default. If this legacy option is present, `pandoc` fails to run.
This commit is contained in:
parent
34103cd5dd
commit
f87ffc88f6
1 changed files with 1 additions and 2 deletions
|
|
@ -728,8 +728,7 @@ def fields2pelican(
|
|||
fp.write(new_content)
|
||||
|
||||
parse_raw = '--parse-raw' if not strip_raw else ''
|
||||
cmd = ('pandoc --normalize {0} --from=html'
|
||||
' --to={1} -o "{2}" "{3}"')
|
||||
cmd = ('pandoc --from=html --to={1} -o "{2}" "{3}"')
|
||||
cmd = cmd.format(parse_raw, out_markup,
|
||||
out_filename, html_filename)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue