pandoc 2.13 introduced the following breakages for gitit:
UTF8.readFile now returns a Text which is actually ideal for gitit.
If pandoc is new enough we just make readFileUTF8 an alias for
UTF8.readFile.
Text.Pandoc.Shared no longer exports substitute. In order to be
conservative I've chosen to just copy the substitute function from
pandoc 2.11.4. I need this patch kind of urgently so I didn't want to
make any changes or refactors independently from upstream if
avoidable. However, I'd be happy to rebase this PR branch to adopt a
different solution to just copying the function.
pandoc 2.13 introduced the following breakages for gitit:
UTF8.readFile now returns a Text which is actually ideal for gitit. If pandoc is new enough we just make readFileUTF8 an alias for UTF8.readFile.
Text.Pandoc.Shared no longer exports substitute. In order to be conservative I've chosen to just copy the substitute function from pandoc 2.11.4. I need this patch kind of urgently so I didn't want to make any changes or refactors independently from upstream if avoidable. However, I'd be happy to rebase this PR branch to adopt a different solution to just copying the function.