We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb203f2 commit f4549c6Copy full SHA for f4549c6
lib/html/pipeline/toc_filter.rb
@@ -42,13 +42,8 @@ def call
42
header_content.add_previous_sibling(%Q{<a name="#{name}#{uniq}" class="anchor" href="##{name}#{uniq}"><span class="octicon octicon-link"></span></a>})
43
end
44
45
- build_toc
46
- doc
47
- end
48
-
49
- # Private: Wrap Table of Contents list items within a container.
50
- def build_toc
51
result[:toc] = %Q{<ul class="section-nav">\n#{result[:toc]}</ul>} unless result[:toc].empty?
+ doc
52
53
54
0 commit comments