Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2b618e9

Browse files
author
Tim Robertson
committed
fix options fuckup
1 parent 6cec727 commit 2b618e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/coderay/encoders/html/numbering.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def self.number! output, mode = :table, options = {}
8888
line_numbers << "\n"
8989
line_numbers_table_template = Output::TABLE.apply('LINE_NUMBERS', line_numbers)
9090

91-
if options.wrap_lines
91+
if options[:wrap_lines]
9292
line_number = start
9393
output.gsub!(/^.*$\n?/) do |line|
9494
"<div class='line n#{line_number}'>#{line}</div>"

0 commit comments

Comments
 (0)