Ensure shortcode alt text gets displayed as markdown.
This commit is contained in:
1 parent
15bf95cdfa
commit
b654c9db08
2 files changed
+2
-2
No files matched your search
@@ -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