Closed martincizek closed 3 years ago
The non-persistent error codes are set to empty set for now (PANDOC_RECOVERABLE_EXIT_CODES = []
).
The only obvious candidate in https://pandoc.org/MANUAL.html#exit-codes is 92 = PandocUTF8DecodingError
, but a UTF8 decoding error would be probably already handled by Ruby at the pandoc execution time.
To avoid the issue observed in #4,
textile_to_markdown
conveter should evaluate pandoc's exit code and: