diff options
Diffstat (limited to 'src/Text')
-rw-r--r-- | src/Text/Pandoc/App/OutputSettings.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Text/Pandoc/App/OutputSettings.hs b/src/Text/Pandoc/App/OutputSettings.hs index d328a9b6a..77248cab1 100644 --- a/src/Text/Pandoc/App/OutputSettings.hs +++ b/src/Text/Pandoc/App/OutputSettings.hs @@ -117,7 +117,8 @@ optToOutputSettings opts = do let setVariableM k v = return . setVariable k v - let setListVariableM k vs = + let setListVariableM _ [] = return + setListVariableM k vs = return . Context . (M.insert (T.pack k) (toVal $ map T.pack vs)) . unContext |