diff options
author | defanor <defanor@uberspace.net> | 2017-12-13 07:46:46 +0300 |
---|---|---|
committer | defanor <defanor@uberspace.net> | 2017-12-13 07:46:46 +0300 |
commit | f735c69d6d0d13858588c3c35317ef294f2382d6 (patch) | |
tree | 6d5e69b76a5d082b44d25a81db24e061043a3107 /Pancake/Configuration.hs | |
parent | 3c03b674fbec2dddce744365ddc6b96daf398864 (diff) |
Add uncluttering/XSLT support
Diffstat (limited to 'Pancake/Configuration.hs')
-rw-r--r-- | Pancake/Configuration.hs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Pancake/Configuration.hs b/Pancake/Configuration.hs index 2748907..ae42f65 100644 --- a/Pancake/Configuration.hs +++ b/Pancake/Configuration.hs @@ -67,6 +67,8 @@ data Config = Config { commands :: M.Map String String , indentDivs :: Bool -- ^ Whether to add indentation for elements -- inside divs. + , unclutter :: M.Map String String + -- ^ XSLT file and URI regex. } deriving (Generic, Show, Eq) -- | For configuration parsing. @@ -107,6 +109,7 @@ instance Default Config where , historyDepth = 100 , referenceDigits = "0123456789" , indentDivs = False + , unclutter = M.empty } where curl = "curl --compressed -4 -L " ++ |