diff --git a/src/embed.v b/src/embed.v index c87a915..5be260c 100644 --- a/src/embed.v +++ b/src/embed.v @@ -65,7 +65,7 @@ fn detect_type(url string) string { // $[Krzak.org icon](https://krzak.org/krzak-icon.png|i) fn parse_type_hint(type_hint string) string { return match type_hint { - 'i', 'image' { 'image' } + 'i', 'image', 'img' { 'image' } 'a', 'audio' { 'audio' } 'v', 'video' { 'video' } 'f', 'iframe' { 'iframe' }