diff options
author | Kornelius Kalnbach <murphy@rubychan.de> | 2013-07-14 02:37:50 +0200 |
---|---|---|
committer | Kornelius Kalnbach <murphy@rubychan.de> | 2013-07-14 02:37:50 +0200 |
commit | 4e13ac40b21a9cb272fc7475a9976e1e0c0d8b11 (patch) | |
tree | 89b039c37e97b180f2853e81160474580d27d821 /lib/coderay | |
parent | bb5cacf51d3c7a9bcd41c78571c12c5ba281c33f (diff) | |
download | coderay-4e13ac40b21a9cb272fc7475a9976e1e0c0d8b11.tar.gz |
imagine escape_html does all we need
Diffstat (limited to 'lib/coderay')
-rw-r--r-- | lib/coderay/encoders/html.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/coderay/encoders/html.rb b/lib/coderay/encoders/html.rb index 9489a91..486d561 100644 --- a/lib/coderay/encoders/html.rb +++ b/lib/coderay/encoders/html.rb @@ -207,7 +207,7 @@ module Encoders # if text.index(/[\0-\t\xB-\x1F]/) # # Escape ASCII control codes except \x9 == \t and \xA == \n. # text.tr!("\0-\x8\xB-\x1F", ' ') if text.index(/[\0-\x8\xB-\x1F]/) - text.gsub!("\t", @expand_tab) if text.index("\t") + # text.gsub!("\t", @expand_tab) if text.index("\t") # end text = break_lines(text, style) if @break_lines && (style || @opened.size > 0) && text.index("\n") |