Skip to content
This repository has been archived by the owner on Aug 6, 2020. It is now read-only.

Fix end tag h5 (instead of h3) #220

Merged
merged 1 commit into from
Jun 11, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion _templates/block_toc.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ if @document.attr? :toc
<dl class="accordion">
<dd class="accordion-navigation active"><%
if toc_title %>
<h5 <%= toc_title_id && %( id="#{toc_title_id}") %>><%= toc_title %></h3><%
<h5 <%= toc_title_id && %( id="#{toc_title_id}") %>><%= toc_title %></h5><%
end %>
<div id="nav" class="toc content active">
<% toc = converter.convert_with_options @document, 'outline', :toclevels => toc_levels %>
Expand Down