aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v2/texinfo_format.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sisu/v2/texinfo_format.rb')
-rw-r--r--lib/sisu/v2/texinfo_format.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/sisu/v2/texinfo_format.rb b/lib/sisu/v2/texinfo_format.rb
index a17fdb65..5e1d8af4 100644
--- a/lib/sisu/v2/texinfo_format.rb
+++ b/lib/sisu/v2/texinfo_format.rb
@@ -384,6 +384,7 @@ WOK
txt.gsub!(/\^/,'\\wedge ')
txt.gsub!(/(\$)/,"\\$")
txt.gsub!(/\~/,'\\~')
+ txt.gsub!(/#{Mx[:url_o]}(https?:\S+?)#{Mx[:url_c]}/,'<\1>')
txt.gsub!(/#{Mx[:url_o]}_(https?:\S+?)#{Mx[:url_c]}/,'\1')
txt.gsub!(/§/i,'\S')
txt.gsub!(/£/i,'\pounds')