diff options
Diffstat (limited to 'lib/olddoc/man2html.rb')
-rw-r--r-- | lib/olddoc/man2html.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/olddoc/man2html.rb b/lib/olddoc/man2html.rb index 82254d2..6a5ffab 100644 --- a/lib/olddoc/man2html.rb +++ b/lib/olddoc/man2html.rb @@ -9,7 +9,7 @@ require 'optparse' class Olddoc::Man2HTML # :nodoc: SALT = rand - LINK_RE = %r{([\('!])?\b((?:ftps?|https?|nntps?|gopher):// + LINK_RE = %r{([\('!])?\b((?:ftps?|https?|nntps?|gopher|imaps?):// [\@:\w\.-]+(?:/ (?:[a-z0-9\-\._~!\$\&\';\(\)\*\+,;=:@/%]*) (?:\?[a-z0-9\-\._~!\$\&\';\(\)\*\+,;=:@/%]+)? |