summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKornelius Kalnbach <murphy@rubychan.de>2013-07-14 02:37:50 +0200
committerKornelius Kalnbach <murphy@rubychan.de>2013-07-14 02:37:50 +0200
commit4e13ac40b21a9cb272fc7475a9976e1e0c0d8b11 (patch)
tree89b039c37e97b180f2853e81160474580d27d821
parentbb5cacf51d3c7a9bcd41c78571c12c5ba281c33f (diff)
downloadcoderay-4e13ac40b21a9cb272fc7475a9976e1e0c0d8b11.tar.gz
imagine escape_html does all we need
-rw-r--r--lib/coderay/encoders/html.rb2
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")