summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKornelius Kalnbach <murphy@rubychan.de>2016-06-13 01:03:02 +0200
committerKornelius Kalnbach <murphy@rubychan.de>2016-06-13 01:03:02 +0200
commit351822b9e9ed27d0b58c39ad93dba9bf64615920 (patch)
tree7cceca35b8293547940c8ae8101207c6a1f3aa33
parent122dd5feef0e61ae10879f11e0fd40fdac7c3d26 (diff)
downloadcoderay-351822b9e9ed27d0b58c39ad93dba9bf64615920.tar.gz
don't escape /
-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 a00ed47..0365022 100644
--- a/lib/coderay/encoders/html.rb
+++ b/lib/coderay/encoders/html.rb
@@ -204,7 +204,7 @@ module Encoders
def text_token text, kind
style = @span_for_kinds[@last_opened ? [kind, *@opened] : kind]
- text = EscapeUtils.escape_html text
+ text = EscapeUtils.escape_html text, false
text = break_lines(text, style) if @break_lines && (style || @opened.size > 0) && text.index("\n")
if style