Remove whitespace inside icon shortcode
This commit is contained in:
@@ -11,13 +11,13 @@
|
|||||||
{{/* The markup below cannot be indented due to nested shortcodes within Markdown. */}}
|
{{/* The markup below cannot be indented due to nested shortcodes within Markdown. */}}
|
||||||
|
|
||||||
<span class="paige-icon">
|
<span class="paige-icon">
|
||||||
{{ with $url }}
|
{{- with $url -}}
|
||||||
<a href="{{ . }}" {{ with $target }} target="{{ . }}" {{ end }} {{ with $title }} title="{{ . }}" {{ end }}>
|
<a href="{{ . }}" {{ with $target }} target="{{ . }}" {{ end }} {{ with $title }} title="{{ . }}" {{ end }}>
|
||||||
{{ end }}
|
{{- end -}}
|
||||||
|
|
||||||
<i class="{{ $class }}">{{ with $title }}<span class="visually-hidden">{{ . }}</span>{{ end }}</i>
|
<i class="{{ $class }}">{{ with $title }}<span class="visually-hidden">{{ . }}</span>{{ end }}</i>
|
||||||
|
|
||||||
{{ if $url }}
|
{{- if $url -}}
|
||||||
</a>
|
</a>
|
||||||
{{ end }}
|
{{- end -}}
|
||||||
</span>
|
</span>
|
||||||
|
Reference in New Issue
Block a user