diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-01-04 20:26:52 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-01-04 20:26:52 -0800 |
commit | e2d86dfe286085cc33b513b17444e846fae0ce30 (patch) | |
tree | 533008ff05af1546854623c9c6d145c901dbc441 /src/Text/Pandoc/Writers/Texinfo.hs | |
parent | 4866c905b0dbca5338c04b9cdcad20bc5846c710 (diff) | |
parent | 9c68017786932e355461168d3ca0593e36d8d7f8 (diff) |
Merge pull request #1856 from markwright/master
Allow compilation with ghc 7.10.1 RC1 and haddock-library 1.2
Diffstat (limited to 'src/Text/Pandoc/Writers/Texinfo.hs')
-rw-r--r-- | src/Text/Pandoc/Writers/Texinfo.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Writers/Texinfo.hs b/src/Text/Pandoc/Writers/Texinfo.hs index 8ac717bab..8fd177fd3 100644 --- a/src/Text/Pandoc/Writers/Texinfo.hs +++ b/src/Text/Pandoc/Writers/Texinfo.hs @@ -368,7 +368,7 @@ inlineListForNode = return . text . stringToTexinfo . -- periods, commas, colons, and parentheses are disallowed in node names disallowedInNode :: Char -> Bool -disallowedInNode c = c `elem` ".,:()" +disallowedInNode c = c `elem` (".,:()" :: String) -- | Convert inline element to Texinfo inlineToTexinfo :: Inline -- ^ Inline to convert |