git.iko.soy/typeable/pandoc
on master help sign in
Markdown reader: Added cf. and cp. to list of likely abbreviations.
commit0dab912c22e17188d1bafccaa02257d133bbc171 authorJohn MacFarlane <jgm@berkeley.edu> dateMon 4 Jun 2012, 11:13 (14 years ago) parent927b599
1 file changed+1−1
src/Text/Pandoc/Readers/Markdown.hs+1−1
src/Text/Pandoc/Readers/Markdown.hs+1−1
@@ -1131,7 +1131,7 @@ likelyAbbrev x =
11311131 "Gen.", "Gov.", "e.g.", "i.e.", "Sgt.", "St.",
11321132 "vol.", "vs.", "Sen.", "Rep.", "Pres.", "Hon.",
11331133 "Rev.", "Ph.D.", "M.D.", "M.A.", "p.", "pp.",
1134− "ch.", "sec." ]
1134+ "ch.", "sec.", "cf.", "cp."]
11351135 abbrPairs = map (break (=='.')) abbrevs
11361136 in map snd $ filter (\(y,_) -> y == x) abbrPairs
11371137