Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

reverting the RDoc ToC slicing for now

  • Loading branch information...
commit 4eeee52c39944126db27c721890476137d1fb9dc 1 parent 944135a
@kgrz kgrz authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  app.rb
View
2  app.rb
@@ -58,7 +58,7 @@
md = File.read("#{params[:topic]}/#{params[:article]}.md")
formatter = RDoc::Markup::ToTableOfContents.new
- @toc = RDoc::Markdown.parse(md).accept(formatter)[1..-1]
+ @toc = RDoc::Markdown.parse(md).accept(formatter)
markdown :"#{params[:topic]}/#{params[:article]}"
end
Please sign in to comment.
Something went wrong with that request. Please try again.