diff --git a/lib/github/markup.rb b/lib/github/markup.rb index a0a9ff0c..84c1e45f 100644 --- a/lib/github/markup.rb +++ b/lib/github/markup.rb @@ -40,10 +40,7 @@ def preload! end end - def render(filename, content = nil, symlink = nil) - content ||= File.read(filename) - symlink = (File.symlink?(filename) rescue false) if symlink.nil? - + def render(filename, content, symlink = false) if impl = renderer(filename, content, symlink) impl.render(filename, content) else