Update embed.v

This commit is contained in:
2026-07-11 12:45:01 +02:00
parent cdf24bd7d4
commit 61d950910d
+1 -1
View File
@@ -65,7 +65,7 @@ fn detect_type(url string) string {
// $[Krzak.org icon](https://krzak.org/krzak-icon.png|i) // $[Krzak.org icon](https://krzak.org/krzak-icon.png|i)
fn parse_type_hint(type_hint string) string { fn parse_type_hint(type_hint string) string {
return match type_hint { return match type_hint {
'i', 'image' { 'image' } 'i', 'image', 'img' { 'image' }
'a', 'audio' { 'audio' } 'a', 'audio' { 'audio' }
'v', 'video' { 'video' } 'v', 'video' { 'video' }
'f', 'iframe' { 'iframe' } 'f', 'iframe' { 'iframe' }