Skip to content

Preserve line wrapping in pandoc for BibTex pipeline

The Grav CMS has some trouble with html outputs generated by pandoc because of line breaks.

For example, this (generated via pandoc) is not rendered correctly:

<div id="refs" class="references csl-bib-body hanging-indent"
role="doc-bibliography">
...
</div>

Using the "--wrap=preserve" argument removes line breaks inside tags:

<div id="refs" class="references csl-bib-body hanging-indent" role="doc-bibliography">
...
</div>

Merge request reports

Loading