mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-24 15:44:59 +08:00
Added a few more recognized abbreviations to 'abbrev' parser.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1300 788f1e2b-df1e-0410-8736-df70ead52e1b
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user