Skip to content

Commit 3e08f13

Browse files
committed
perf(markup): add options to render_s
1 parent ea51182 commit 3e08f13

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/github/markup.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,11 @@ def render(filename, content, symlink: false, options: {})
4747
end
4848
end
4949

50-
def render_s(symbol, content)
50+
def render_s(symbol, content, options: {})
5151
raise ArgumentError, 'Can not render a nil.' if content.nil?
5252

5353
if markups.key?(symbol)
54-
markups[symbol].render(nil, content)
54+
markups[symbol].render(nil, content, options: options)
5555
else
5656
content
5757
end

0 commit comments

Comments
 (0)