fix(shortcodes): éviter que Goldmark interprète </div> comme bloc de code
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
This commit is contained in:
parent
a6b329a698
commit
9956a1cbdb
@ -3,7 +3,5 @@
|
|||||||
{{- if $title -}}
|
{{- if $title -}}
|
||||||
<h4 class="feature-card__title">{{ $title }}</h4>
|
<h4 class="feature-card__title">{{ $title }}</h4>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
<div class="feature-card__body">
|
<div class="feature-card__body">{{ .Inner | markdownify }}</div>
|
||||||
{{ .Inner | markdownify }}
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -3,7 +3,5 @@
|
|||||||
{{- if $title -}}
|
{{- if $title -}}
|
||||||
<h3 class="feature-section__title">{{ $title }}</h3>
|
<h3 class="feature-section__title">{{ $title }}</h3>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
<div class="feature-section__body">
|
<div class="feature-section__body">{{ .Inner | markdownify }}</div>
|
||||||
{{ .Inner | markdownify }}
|
|
||||||
</div>
|
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user