diff --git a/templates/section.html.erb b/templates/section.html.erb index 1197f0ad2e..a6d2e7048d 100644 --- a/templates/section.html.erb +++ b/templates/section.html.erb @@ -1,11 +1,8 @@ -<% if !anchor.nil? %> - -<% end %>
- id="<%= section_id %>"><%= name %>> <% if !anchor.nil? %> - + <% end %> + id="<%= section_id %>"><%= name %>> <% if level == 1 %>
<%= content %>
<% else %>