Skip to content

Commit 93cc543

Browse files
committed
Eliminate unwanted whitespace at the end of headings
1 parent 60b0743 commit 93cc543

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

mkdocstrings/templates/crystal/material/constant.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22

33
<div class="doc doc-object doc-{{ obj.kind }}">
44
{% filter heading(heading_level, id=obj.abs_id, class="doc doc-heading", toc_label=obj.name) %}
5-
<code>
6-
{{ obj.name }} = <span style="font-weight: normal">{{ obj.value |code_highlight(language="crystal", inline=True) }}</span>
7-
</code>
5+
<code>{{ obj.name }} = <span style="font-weight: normal">{{ obj.value |code_highlight(language="crystal", inline=True) }}</span></code>
86
{% endfilter %}
97

108
<div class="doc doc-contents {% if root %}first{% endif %}">

mkdocstrings/templates/crystal/material/method.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33
<div class="doc doc-object doc-method doc-{{ obj.kind }}">
44
{% filter heading(heading_level, id=obj.abs_id, class="doc doc-heading", toc_label=obj.short_name) %}
55
{% if obj.is_abstract %}<small style="font-weight: normal">abstract</small> {% endif %}
6-
<code>
7-
{{ obj.short_name }}<span style="font-weight: normal">{{ obj.args_string |code_highlight(language="crystal", inline=True) }}</span>
8-
</code>
6+
<code>{{ obj.short_name }}<span style="font-weight: normal">{{ obj.args_string |code_highlight(language="crystal", inline=True) }}</span></code>
97
{% endfilter %}
108

119
<div class="doc doc-contents {% if root %}first{% endif %}">

0 commit comments

Comments
 (0)