Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix TOC generation

  • Loading branch information...
commit bf53017a1f9086bcf00c14350ae019d39b3f74e8 1 parent bdb9c08
@jarib jarib authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Rakefile
View
2  Rakefile
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.