From fbeeae91d153202b464521864faca9013abe2996 Mon Sep 17 00:00:00 2001 From: eksperimental Date: Sun, 1 Mar 2015 07:57:19 +0700 Subject: [PATCH] only split into two --- bin/htmlproof | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/htmlproof b/bin/htmlproof index 9e1e74d2..ebf6ce51 100755 --- a/bin/htmlproof +++ b/bin/htmlproof @@ -56,7 +56,7 @@ Mercenary.program(:htmlproof) do |p| unless opts['href_swap'].nil? options[:href_swap] = {} opts['href_swap'].each do |s| - pair = s.split(':') + pair = s.split(':', 2) options[:href_swap][Regexp.new(pair[0])] = pair[1] end end