Skip to content

Commit

Permalink
Update section.html.haml
Browse files Browse the repository at this point in the history
  • Loading branch information
situx authored Jan 29, 2025
1 parent 9781af4 commit 3e9e841
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion document/templates/html5/section.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
%h1{:id=>@id, :class=>"sect0"}=%(#{anchor}#{link}#{title}#{link && '</a>'})
=content
- else
%section{:class=>["sect#{slevel}", role],:id=>@id}
%section{:class=>["sect#{slevel}", role]}
- snum = @numbered && @caption.nil? && slevel <= (@document.attr 'sectnumlevels', 3).to_i ? %(#{sectnum} ) : nil
- haml_tag "h#{slevel + 1}##{@id}", %(#{anchor}#{link}#{snum}#{captioned_title}#{link && '</a>'})
- if slevel == 1
Expand Down

0 comments on commit 3e9e841

Please sign in to comment.