diff options
Diffstat (limited to 'pandoc.hs')
-rw-r--r-- | pandoc.hs | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -689,10 +689,8 @@ options = , Option "" ["epub-stylesheet"] (ReqArg (\arg opt -> do - warn "--epub-stylesheet is deprecated. Use --css or stylesheet in metadata." - let newvars = optVariables opt ++ [("css",arg)] - return opt { optVariables = newvars, - optStandalone = True }) + text <- UTF8.readFile arg + return opt { optEpubStylesheet = Just text }) "FILENAME") "" -- "Path of epub.css" |