La fermeture du div était indentée dans le gabarit ; une fois injectée après une liste, CommonMark la traitait comme du code indenté. Corps du bloc sur une seule ligne avec </div> non indenté. Made-with: Cursor
8 lines
227 B
HTML
8 lines
227 B
HTML
{{- $title := .Get "title" -}}
|
|
<section class="feature-section">
|
|
{{- if $title -}}
|
|
<h3 class="feature-section__title">{{ $title }}</h3>
|
|
{{- end -}}
|
|
<div class="feature-section__body">{{ .Inner | markdownify }}</div>
|
|
</section>
|