aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2024-12-07 11:42:34 -0800
committerJohn MacFarlane <[email protected]>2024-12-07 11:42:34 -0800
commit567e6a15ac06628cceeb0f55f02fd5c1506c48fd (patch)
tree36248b38120f05f88d9d8ac94725719b0d8a1a69
parent9013814c82d1abba1dd308350b96b15d70844af6 (diff)
Stylistic tweak.
-rw-r--r--src/Text/Pandoc/App/OutputSettings.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/App/OutputSettings.hs b/src/Text/Pandoc/App/OutputSettings.hs
index 56889d9b4..256fb5285 100644
--- a/src/Text/Pandoc/App/OutputSettings.hs
+++ b/src/Text/Pandoc/App/OutputSettings.hs
@@ -133,7 +133,7 @@ optToOutputSettings scriptingEngine opts = do
templ <- processCustomTemplate $
case customTemplate components of
Nothing -> throwError $ PandocNoTemplateError format
- Just t -> (runWithDefaultPartials $ compileTemplate path t) >>=
+ Just t -> runWithDefaultPartials (compileTemplate path t) >>=
templateOrThrow
return (w, wexts, templ)
else