From 45044ff536f9f5156cb238366d90a8b03042d201 Mon Sep 17 00:00:00 2001 From: fiddlosopher Date: Fri, 11 Jul 2008 03:00:35 +0000 Subject: Added a few more recognized abbreviations to 'abbrev' parser. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1300 788f1e2b-df1e-0410-8736-df70ead52e1b --- Text/Pandoc/Readers/Markdown.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Text') diff --git a/Text/Pandoc/Readers/Markdown.hs b/Text/Pandoc/Readers/Markdown.hs index d0d99b607..ef75a85f4 100644 --- a/Text/Pandoc/Readers/Markdown.hs +++ b/Text/Pandoc/Readers/Markdown.hs @@ -809,7 +809,8 @@ assumedAbbrev = try $ do -- by a capital letter (such as a name). knownAbbrev = try $ do result <- oneOfStrings [ "Mr", "Mrs", "Ms", "Capt", "Dr", "Prof", "Gen", - "Gov", "e.g", "i.e", "Sgt", "St", "vol", "vs" ] + "Gov", "e.g", "i.e", "Sgt", "St", "vol", "vs", + "Sen", "Rep", "Pres", "Hon", "Rev" ] string ". " return result -- cgit v1.2.3