Skip to content

Commit d89aa10

Browse files
Don't add a paragraph altogether
1 parent 3ff7fa3 commit d89aa10

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

layouts/shortcodes/dropdown.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@
112112
</span>
113113
</summary>
114114
<div class="sd-summary-content sd-card-body docutils">
115-
{{ with (trim $dropdown.body "\n") }}
116-
<p class="sd-card-text">{{ . | markdownify }}</p>
117-
{{ end }}
115+
{{- with (trim $dropdown.body "\n") -}}
116+
{{- . | markdownify -}}
117+
{{- end -}}
118118
</div>
119119
</details>

0 commit comments

Comments
 (0)