aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v0/texinfo_format.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sisu/v0/texinfo_format.rb')
-rw-r--r--lib/sisu/v0/texinfo_format.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/sisu/v0/texinfo_format.rb b/lib/sisu/v0/texinfo_format.rb
index 3184ee80..e4803d87 100644
--- a/lib/sisu/v0/texinfo_format.rb
+++ b/lib/sisu/v0/texinfo_format.rb
@@ -327,9 +327,10 @@ WOK
@para.gsub!(/(\$)/,"\\$")
@para.gsub!(/\~/,'\\~')
@para.gsub!(/%/,"\\%")
- if @para !~ /^\s*<:image|\}:image\s/
- @para.gsub!(/_/,'\_')
- end
+ #if @para !~ /^\s*<:image|\}:image\s/
+ # @para.gsub!(/_/,'\_')
+ #end
+ @para.gsub!(/_(http:\/\/)/,'\1')
@para.gsub!(/§/i,'\S')
@para.gsub!(/£/i,'\pounds')
@para.gsub!(/å/i,'\aa')