Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Allow compilation with pandoc 2.12 and 2.13 (#670)
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.
- Loading branch information
1 parent
975dfb9
commit e8c9d94
Showing
3 changed files
with
16 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters