aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMichael Hoffmann <brennan.brisad@gmail.com>2020-10-16 02:09:29 +0200
committerGitHub <noreply@github.com>2020-10-15 17:09:29 -0700
commit988d381aad150431f1b8b46349526fb5379e0fa0 (patch)
treea51c0e1b613f059ec80a1640dca1010f5762eb72 /doc
parent3c8b3eba177ca045a3051c0132632a0bf749f195 (diff)
downloadpandoc-988d381aad150431f1b8b46349526fb5379e0fa0.tar.gz
Fix some small typos in the API documentation (#6751)
While reading the docs I found a couple of small typos.
Diffstat (limited to 'doc')
-rw-r--r--doc/using-the-pandoc-api.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/using-the-pandoc-api.md b/doc/using-the-pandoc-api.md
index dbedefaa2..df9380313 100644
--- a/doc/using-the-pandoc-api.md
+++ b/doc/using-the-pandoc-api.md
@@ -120,7 +120,7 @@ getVerbosity :: PandocMonad m => m Verbosity
-- | Set the verbosity level.
setVerbosity :: PandocMonad m => Verbosity -> m ()
--- Get the accomulated log messages (in temporal order).
+-- Get the accumulated log messages (in temporal order).
getLog :: PandocMonad m => m [LogMessage]
getLog = reverse <$> getsCommonState stLog
@@ -337,7 +337,7 @@ use `throwError`.
In addition to errors, which stop execution of the conversion
pipeline, one can generate informational messages.
Use `report` from [Text.Pandoc.Class] to issue a `LogMessage`.
-For a list of cosntructors for `LogMessage`, see
+For a list of constructors for `LogMessage`, see
[Text.Pandoc.Logging]. Note that each type of log message
is associated with a verbosity level. The verbosity level
(`setVerbosity`/`getVerbosity`) determines whether the report
@@ -432,7 +432,7 @@ structure and calling this function.
1. Pandoc's parsers can exhibit pathological behavior on some
inputs. So it is always a good idea to wrap uses of pandoc
in a timeout function (e.g. `System.Timeout.timeout` from `base`)
- to prevent DOS attacks.
+ to prevent DoS attacks.
2. If pandoc generates HTML from untrusted user input, it is
always a good idea to filter the generated HTML through