Skip to content

Commit

Permalink
Remove leading whitespace from output template capture (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
jricher authored Aug 16, 2022
1 parent 85e8ac9 commit 8e303ff
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions _includes/anchor_headings.html
Original file line number Diff line number Diff line change
Expand Up @@ -148,15 +148,15 @@
{% endif %}

{% capture new_heading %}
<h{{ _hAttrToStrip }}
{{ include.bodyPrefix }}
{% if beforeHeading %}
{{ anchor }}{{ header }}
{% else %}
{{ header }}{{ anchor }}
{% endif %}
{{ include.bodySuffix }}
</h{{ headerLevel }}>
<h{{ _hAttrToStrip }}
{{ include.bodyPrefix }}
{% if beforeHeading %}
{{ anchor }}{{ header }}
{% else %}
{{ header }}{{ anchor }}
{% endif %}
{{ include.bodySuffix }}
</h{{ headerLevel }}>
{% endcapture %}

<!--
Expand Down

0 comments on commit 8e303ff

Please sign in to comment.