git.iko.soy/typeable/pandoc
on master help sign in
Fix some small typos in the API documentation (#6751)

While reading the docs I found a couple of small typos.

commit988d381aad150431f1b8b46349526fb5379e0fa0 authorMichael Hoffmann <brennan.brisad@gmail.com> dateFri 16 Oct 2020, 02:09 (6 years ago) parent3c8b3eb
2 files changed+4−4
doc/using-the-pandoc-api.md+3−3 src/Text/Pandoc/Class/PandocMonad.hs+1−1
doc/using-the-pandoc-api.md+3−3
@@ -120,7 +120,7 @@ getVerbosity :: PandocMonad m => m Verbosity
120120-- | Set the verbosity level.
121121setVerbosity :: PandocMonad m => Verbosity -> m ()
122122
123−-- Get the accomulated log messages (in temporal order).
123+-- Get the accumulated log messages (in temporal order).
124124getLog :: PandocMonad m => m [LogMessage]
125125getLog = reverse <$> getsCommonState stLog
126126
@@ -337,7 +337,7 @@ use `throwError`.
337337In addition to errors, which stop execution of the conversion
338338pipeline, one can generate informational messages.
339339Use `report` from [Text.Pandoc.Class] to issue a `LogMessage`.
340−For a list of cosntructors for `LogMessage`, see
340+For a list of constructors for `LogMessage`, see
341341[Text.Pandoc.Logging]. Note that each type of log message
342342is associated with a verbosity level. The verbosity level
343343(`setVerbosity`/`getVerbosity`) determines whether the report
@@ -432,7 +432,7 @@ structure and calling this function.
4324321. Pandoc's parsers can exhibit pathological behavior on some
433433 inputs. So it is always a good idea to wrap uses of pandoc
434434 in a timeout function (e.g. `System.Timeout.timeout` from `base`)
435− to prevent DOS attacks.
435+ to prevent DoS attacks.
436436
4374372. If pandoc generates HTML from untrusted user input, it is
438438 always a good idea to filter the generated HTML through
src/Text/Pandoc/Class/PandocMonad.hs+1−1
@@ -160,7 +160,7 @@ setVerbosity verbosity =
160160getVerbosity :: PandocMonad m => m Verbosity
161161getVerbosity = getsCommonState stVerbosity
162162
163−-- | Get the accomulated log messages (in temporal order).
163+-- | Get the accumulated log messages (in temporal order).
164164getLog :: PandocMonad m => m [LogMessage]
165165getLog = reverse <$> getsCommonState stLog
166166