Skip to content

Commit

Permalink
pandoc versionen über 2.0 können --reference-odt/docx nicht mehr nur …
Browse files Browse the repository at this point in the history
…noch --reference-doc
  • Loading branch information
BlackLotus committed Mar 26, 2019
1 parent 8eac88b commit 2444517
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rdmo/core/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def render_to_format(request, format, title, template_src, context):
# use reference document for certain file formats
refdoc = set_export_reference_document(format)
if refdoc is not None and (format == 'docx' or format == 'odt'):
refdoc_param = '--reference-' + format + '=' + refdoc
refdoc_param = '--reference-doc=' + refdoc
args.extend([refdoc_param])

# create a temporary file
Expand Down

0 comments on commit 2444517

Please sign in to comment.