mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-28 18:35:49 +00:00
@@ -421,7 +421,6 @@ uri :: Parser [Char] st (String, String)
|
||||
uri = try $ do
|
||||
scheme <- uriScheme
|
||||
char ':'
|
||||
-- /^[\/\w\u0080-\uffff]+|%[A-Fa-f0-9]+|&#?\w+;|(?:[,]+|[\S])[%&~\w\u0080-\uffff]/
|
||||
-- We allow punctuation except at the end, since
|
||||
-- we don't want the trailing '.' in 'http://google.com.' We want to allow
|
||||
-- http://en.wikipedia.org/wiki/State_of_emergency_(disambiguation)
|
||||
|
||||
Reference in New Issue
Block a user