lib/jazzy/readme_generator.rb in jazzy-0.1.4 vs lib/jazzy/readme_generator.rb in jazzy-0.1.5
- old
+ new
@@ -11,11 +11,10 @@
unless readme && readme.exist? && readme = readme.read
readme = generated_readme(source_module)
end
- rendered_readme = Jazzy.markdown.render(readme)
- "<div class='readme'>#{rendered_readme}</div>"
+ Jazzy.markdown.render(readme)
end
def self.readme_path
return config.readme_path if config.readme_path
%w(README.md README.markdown README.mdown README).each do |potential_name|