aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2010-10-11 22:28:51 -0400
committerRalph Amissah <ralph@amissah.com>2010-10-11 22:28:51 -0400
commit4f2d1d3fb3b7566d4434a2910491c780d26890b7 (patch)
tree28e40a77f12de01dc634f42e5bd970437fda7928 /lib
parentsisu_convert, basic conversion script, preliminary fix (diff)
shared_metadata, odf, url characters to not match
Diffstat (limited to 'lib')
-rw-r--r--lib/sisu/v2/shared_metadata.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sisu/v2/shared_metadata.rb b/lib/sisu/v2/shared_metadata.rb
index e589c598..f27cf5ba 100644
--- a/lib/sisu/v2/shared_metadata.rb
+++ b/lib/sisu/v2/shared_metadata.rb
@@ -496,7 +496,7 @@ WOK
@inf.gsub!(/#{Mx[:url_o]}(\S+?)#{Mx[:url_c]}/,
%{#{url_brace.xml_open}<text:a xlink:type="simple" xlink:href="\\1">\\1</text:a>#{url_brace.xml_close}}) #http ftp matches with decoration
else
- @inf.gsub!(/(https?:\/\/[^<>'"\s]+)/,
+ @inf.gsub!(/(https?:\/\/[^<>()'"\s]+)/,
%{#{url_brace.xml_open}<text:a xlink:type="simple" xlink:href="\\1">\\1</text:a>#{url_brace.xml_close}}) #http ftp matches with decoration
end
@inf.gsub!(/([a-zA-Z0-9._-]+@[a-zA-Z0-9._-]+)/,