Use .Inner instead of .Get 'text' in span shortcode

This commit is contained in:
ItsDrike 2022-05-23 18:55:01 +02:00
parent d3f9af4560
commit 55ea1f48f5
No known key found for this signature in database
GPG key ID: B014E761034AF742

View file

@ -1 +1 @@
<span {{ with .Get "style" }} style="{{ . | safeCSS }}" {{ end }}>{{ .Get "text" }}</span>
<span {{ with .Get "style" }} style="{{ . | safeCSS }}" {{ end }}>{{ .Inner }}</span>