Update embed.v
This commit is contained in:
+1
-1
@@ -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' }
|
||||
|
||||
Reference in New Issue
Block a user