mirror of
https://github.com/xmonad/xmonad.git
synced 2025-05-19 08:30:21 -07:00
Fix manpage generator
This commit is contained in:
parent
abdbc23551
commit
39fd73a7f7
@ -36,7 +36,7 @@ allBindings xs = map (binding . map trim) (xs =~ "(.*)--(.*)@@(.*)")
|
|||||||
|
|
||||||
-- FIXME: What escaping should we be doing on these strings?
|
-- FIXME: What escaping should we be doing on these strings?
|
||||||
troff :: (String, String) -> String
|
troff :: (String, String) -> String
|
||||||
troff (key, desc) = ".IP \\fB" ++ key ++ "\\fR\n" ++ desc ++ "\n"
|
troff (key, desc) = ".IP\n \\fB" ++ key ++ "\\fR\n" ++ desc ++ "\n"
|
||||||
|
|
||||||
replace :: Eq a => a -> a -> [a] -> [a]
|
replace :: Eq a => a -> a -> [a] -> [a]
|
||||||
replace x y = map (\a -> if a == x then y else a)
|
replace x y = map (\a -> if a == x then y else a)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user