aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2010-09-25 23:03:51 -0400
committerRalph Amissah <ralph@amissah.com>2010-09-25 23:05:13 -0400
commit6132f2f25a43d19c142360ecf8999a6fe43a360c (patch)
tree5f7670dfbeeff0abb89756a0cba8b9cd01afbabd /lib
parenttexinfo ocn decoration a hash (instead of angle braces) (+changelog) (diff)
texinfo, urls cleaned & with angle bracket decoration (+changelog)
Diffstat (limited to 'lib')
-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')