Ensure shortcode alt text gets displayed as markdown.
This commit is contained in:
@@ -21,5 +21,5 @@
|
||||
src='{{ $src }}'
|
||||
type='audio/{{ .Scratch.Get "type" }}'
|
||||
>
|
||||
{{ .Scratch.Get "text" }}
|
||||
{{ .Scratch.Get "text" | markdownify }}
|
||||
</audio>
|
||||
@@ -12,4 +12,4 @@
|
||||
<img src="{{ $url2 }}" alt="{{ $alt }}">
|
||||
</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