Skip to content

Commit 9a104ab

Browse files
committed
Fix missed conversion from label to aref
1 parent b18b541 commit 9a104ab

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

History.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
The search index generation is a reusable component through
88
RDoc::Generator::JsonIndex
99
* The table of contents is now a separate page and now shows links to
10-
headings inside a page or class.
10+
headings and sections inside a page or class.
1111
* Class pages no longer show the namespace and no longer have file info
1212
pages.
1313
* HTML output is HTML 5.

lib/rdoc/generator/template/darkfish/table_of_contents.rhtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<img class="toc-toggle" src="images/transparent.png" alt="" title="toggle headings">
1616
<ul class="initially-hidden">
1717
<% table.each do |heading| %>
18-
<li><a href="<%= file.path %>#<%= heading.label %>"><%= heading.plain_html %></a>
18+
<li><a href="<%= file.path %>#<%= heading.aref %>"><%= heading.plain_html %></a>
1919
<% end %>
2020
</ul>
2121
<% end %>

0 commit comments

Comments
 (0)