Skip to content

Commit 351822b

Browse files
committed
don't escape /
1 parent 122dd5f commit 351822b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/coderay/encoders/html.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ def finish options
204204
def text_token text, kind
205205
style = @span_for_kinds[@last_opened ? [kind, *@opened] : kind]
206206

207-
text = EscapeUtils.escape_html text
207+
text = EscapeUtils.escape_html text, false
208208
text = break_lines(text, style) if @break_lines && (style || @opened.size > 0) && text.index("\n")
209209

210210
if style

0 commit comments

Comments
 (0)