mirror of
https://github.com/matrix-org/matrix-spec
synced 2025-12-20 16:38:37 +01:00
Remove span element from added-in and changed-in shortcodes (#1972)
This commit is contained in:
parent
48afe4faa5
commit
69d7dbf703
1
changelogs/internal/newsfragments/1972.clarification
Normal file
1
changelogs/internal/newsfragments/1972.clarification
Normal file
|
|
@ -0,0 +1 @@
|
|||
Remove `span` element from `added-in` and `changed-in` shortcodes.
|
||||
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
{{- with page.Params.version -}}
|
||||
{{- if eq $ver . -}}
|
||||
<span><strong>[New in this version]</strong></span>
|
||||
<strong>[New in this version]</strong>
|
||||
{{- end -}}
|
||||
{{- else -}}
|
||||
<span><strong>[Added in <code>v{{ $ver }}</code>]</strong></span>
|
||||
<strong>[Added in <code>v{{ $ver }}</code>]</strong>
|
||||
{{- end -}}
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
{{- with page.Params.version -}}
|
||||
{{- if eq $ver . -}}
|
||||
<span><strong>[Changed in this version]</strong></span>
|
||||
<strong>[Changed in this version]</strong>
|
||||
{{- end -}}
|
||||
{{- else -}}
|
||||
<span><strong>[Changed in <code>v{{ $ver }}</code>]</strong></span>
|
||||
<strong>[Changed in <code>v{{ $ver }}</code>]</strong>
|
||||
{{- end -}}
|
||||
|
|
|
|||
Loading…
Reference in a new issue