diff options
| author | John MacFarlane <[email protected]> | 2024-12-07 11:42:34 -0800 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2024-12-07 11:42:34 -0800 |
| commit | 567e6a15ac06628cceeb0f55f02fd5c1506c48fd (patch) | |
| tree | 36248b38120f05f88d9d8ac94725719b0d8a1a69 | |
| parent | 9013814c82d1abba1dd308350b96b15d70844af6 (diff) | |
Stylistic tweak.
| -rw-r--r-- | src/Text/Pandoc/App/OutputSettings.hs | 2 |
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 |
