Remove span element from added-in and changed-in shortcodes

It is unnecessary and has no effect.

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
Kévin Commaille 2024-10-13 11:58:25 +02:00
parent ae3673d2ef
commit a801f35029
No known key found for this signature in database
GPG key ID: 0C971D9DBC9D678D
2 changed files with 4 additions and 4 deletions

View file

@ -2,8 +2,8 @@
{{- with page.Params.version -}} {{- with page.Params.version -}}
{{- if eq $ver . -}} {{- if eq $ver . -}}
<span><strong>[New in this version]</strong></span> <strong>[New in this version]</strong>
{{- end -}} {{- end -}}
{{- else -}} {{- else -}}
<span><strong>[Added in <code>v{{ $ver }}</code>]</strong></span> <strong>[Added in <code>v{{ $ver }}</code>]</strong>
{{- end -}} {{- end -}}

View file

@ -2,8 +2,8 @@
{{- with page.Params.version -}} {{- with page.Params.version -}}
{{- if eq $ver . -}} {{- if eq $ver . -}}
<span><strong>[Changed in this version]</strong></span> <strong>[Changed in this version]</strong>
{{- end -}} {{- end -}}
{{- else -}} {{- else -}}
<span><strong>[Changed in <code>v{{ $ver }}</code>]</strong></span> <strong>[Changed in <code>v{{ $ver }}</code>]</strong>
{{- end -}} {{- end -}}