diff options
author | Kornelius Kalnbach <murphy@rubychan.de> | 2016-06-13 01:03:02 +0200 |
---|---|---|
committer | Kornelius Kalnbach <murphy@rubychan.de> | 2016-06-13 01:03:02 +0200 |
commit | 351822b9e9ed27d0b58c39ad93dba9bf64615920 (patch) | |
tree | 7cceca35b8293547940c8ae8101207c6a1f3aa33 /lib | |
parent | 122dd5feef0e61ae10879f11e0fd40fdac7c3d26 (diff) | |
download | coderay-351822b9e9ed27d0b58c39ad93dba9bf64615920.tar.gz |
don't escape /
Diffstat (limited to 'lib')
-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 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 |