about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/olddoc/man2html.rb2
-rw-r--r--lib/oldweb/_tail.rhtml2
2 files changed, 2 insertions, 2 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\-\._~!\$\&\';\(\)\*\+,;=:@/%]+)?
diff --git a/lib/oldweb/_tail.rhtml b/lib/oldweb/_tail.rhtml
index e3fada5..7fb4839 100644
--- a/lib/oldweb/_tail.rhtml
+++ b/lib/oldweb/_tail.rhtml
@@ -2,7 +2,7 @@
 public_email = @old_cfg['public_email']
 private_email = @old_cfg['private_email']
 source_code = Array(@old_cfg['source_code']).dup
-archive_urls = Array(@old_cfg['ml_url']) + Array(@old_cfg['nntp_url'])
+archive_urls = Array(@old_cfg.values_at(*%W(ml_url nntp_url imap_url))).flatten
 if url = archive_urls.shift %><hr /><pre>
 mail archives: <a
 href="<%= url %>"><%= url %></a><%