summaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/App/Input.hs
AgeCommit message (Collapse)Author
2023-06-27Text.Pandoc.Class: add `toTextM`.John MacFarlane
This is like `Text.Pandoc.UTF8.toText`, except: - it takes a file path as first argument, in addition to bytestring contents - it raises an informative error with source position if the contents are not UTF8-encoded [API change] This replaces `utf8ToText` in `Text.Pandoc.App.Input`. See #8884.
2023-01-10Update copyright years, it's 2023!Albert Krewinkel
2022-12-01Multiple input files with --file-scope:John MacFarlane
fix case where the links are URL-encoded, e.g. with `%20`. Closes #8467.
2022-10-03Rename T.P.Network.HTTP -> T.P.URI.John MacFarlane
This is still an unexported internal module. Export `urlEncode`, `escapeURI`, `isURI`, `schemes`, `uriPathToPath`. Re-export `escapeURI` and `isURI` from T.P.Shared (as they were exported before); drop exports of `schemes` and `uriPathToPath` [API change]. With this change, T.P.Class no longer depends on T.P.Shared.
2022-09-30App: move initial input-to-Pandoc code to internal submoduleAlbert Krewinkel