You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following Lua filter code is incorrect, because the template has not been compiled, but pandoc.WriterOptions does not throw an error for an invalid template value, it just silently ignores it and produces a non-standalone document. I consider it a bug that there is no error.
An alternative solution would be for pandoc.WriterOptions to try to compile the template if it is passed a string instead of a compiled template for template.
The following Lua filter code is incorrect, because the template has not been compiled, but
pandoc.WriterOptions
does not throw an error for an invalidtemplate
value, it just silently ignores it and produces a non-standalone document. I consider it a bug that there is no error.An alternative solution would be for
pandoc.WriterOptions
to try to compile the template if it is passed a string instead of a compiled template fortemplate
.I'm using pandoc 2.19.2 on macOS 12.6. See also the pandoc-discuss thread that led to filing this bug.
The text was updated successfully, but these errors were encountered: