diff options
author | John MacFarlane <jgm@berkeley.edu> | 2014-07-27 12:18:17 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2014-07-27 12:18:17 -0700 |
commit | 4ddb8433a8326a872fd430d9aae7e2ba8ad7b051 (patch) | |
tree | c3a6bd09eab909dfb30c6c6bcd7cbbfc6378796b /src/Text/Pandoc | |
parent | 19109331df6ec4373b6b525ccffb5aebb99331a4 (diff) | |
parent | 95fb0755c1a78dacab986c0d36601ed1d0fa77c2 (diff) | |
download | pandoc-4ddb8433a8326a872fd430d9aae7e2ba8ad7b051.tar.gz |
Merge pull request #1459 from mpickering/formats
Parsing: Added isbn and pmid schemes
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r-- | src/Text/Pandoc/Parsing.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Text/Pandoc/Parsing.hs b/src/Text/Pandoc/Parsing.hs index 66ebca253..b25fca100 100644 --- a/src/Text/Pandoc/Parsing.hs +++ b/src/Text/Pandoc/Parsing.hs @@ -408,7 +408,7 @@ emailAddress = try $ toResult <$> mailbox <*> (char '@' *> domain) -- Schemes from http://www.iana.org/assignments/uri-schemes.html plus --- the unofficial schemes coap, doi, javascript. +-- the unofficial schemes coap, doi, javascript, isbn, pmid schemes :: [String] schemes = ["coap","doi","javascript","aaa","aaas","about","acap","cap","cid", "crid","data","dav","dict","dns","file","ftp","geo","go","gopher", @@ -430,7 +430,7 @@ schemes = ["coap","doi","javascript","aaa","aaas","about","acap","cap","cid", "rtmp","secondlife","sftp","sgn","skype","smb","soldat","spotify", "ssh","steam","svn","teamspeak","things","udp","unreal","ut2004", "ventrilo","view-source","webcal","wtai","wyciwyg","xfire","xri", - "ymsgr"] + "ymsgr", "isbn", "pmid"] uriScheme :: Stream s m Char => ParserT s st m String uriScheme = oneOfStringsCI schemes |