Permalink
Browse files

Fix TOC generation

  • Loading branch information...
1 parent bdb9c08 commit bf53017a1f9086bcf00c14350ae019d39b3f74e8 @jarib jarib committed Mar 25, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 Rakefile
View
@@ -17,7 +17,7 @@ module Hdo
class TocRenderer < Redcarpet::Render::HTML_TOC
def header(str, level)
- "<li><a href='#{Hdo.id_for str}'>#{str}</a></li>\n"
+ "<li><a href='##{Hdo.id_for str}'>#{str}</a></li>\n"
end
end
end

0 comments on commit bf53017

Please sign in to comment.