Remove span
element from added-in
and changed-in
shortcodes (#1972)
This commit is contained in:
parent
48afe4faa5
commit
69d7dbf703
3 changed files with 5 additions and 4 deletions
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…
Add table
Add a link
Reference in a new issue