Ensure shortcode alt text gets displayed as markdown.
This commit is contained in:
@@ -21,5 +21,5 @@
|
|||||||
src='{{ $src }}'
|
src='{{ $src }}'
|
||||||
type='audio/{{ .Scratch.Get "type" }}'
|
type='audio/{{ .Scratch.Get "type" }}'
|
||||||
>
|
>
|
||||||
{{ .Scratch.Get "text" }}
|
{{ .Scratch.Get "text" | markdownify }}
|
||||||
</audio>
|
</audio>
|
||||||
@@ -12,4 +12,4 @@
|
|||||||
<img src="{{ $url2 }}" alt="{{ $alt }}">
|
<img src="{{ $url2 }}" alt="{{ $alt }}">
|
||||||
</picture>
|
</picture>
|
||||||
-->
|
-->
|
||||||
<img src="{{ $url1 }}" alt="{{ $alt }}" onerror="this.onerror=null; this.src='{{ $url2 }}';">
|
<img src="{{ $url1 }}" alt="{{ $alt | markdownify }}" onerror="this.onerror=null; this.src='{{ $url2 }}';">
|
||||||
|
|||||||
Reference in New Issue
Block a user