File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ def setup options
146
146
end
147
147
148
148
def get_output options
149
- options [ :out ] || ''
149
+ options [ :out ] || '' . dup
150
150
end
151
151
152
152
# Append data.to_s to the output. Returns the argument.
Original file line number Diff line number Diff line change @@ -176,7 +176,7 @@ def setup options
176
176
177
177
if options [ :wrap ] || options [ :line_numbers ]
178
178
@real_out = @out
179
- @out = ''
179
+ @out = '' . dup
180
180
end
181
181
182
182
@break_lines = ( options [ :break_lines ] == true )
@@ -314,7 +314,7 @@ def check_group_nesting name, kind
314
314
end
315
315
316
316
def break_lines text , style
317
- reopen = ''
317
+ reopen = '' . dup
318
318
@opened . each_with_index do |kind , index |
319
319
reopen << ( @span_for_kinds [ index > 0 ? [ kind , *@opened [ 0 ...index ] ] : kind ] || '<span>' )
320
320
end
You can’t perform that action at this time.
0 commit comments