From ae6a03942f651790c40f8d8479f90eb7715bf2af Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Wed, 8 Nov 2023 14:00:41 +1000 Subject: [PATCH] Check video tags in media check https://forums.ankiweb.net/t/video-tag-does-not-recognize-the-source-file-in-check-media/36850/2 --- rslib/src/text.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rslib/src/text.rs b/rslib/src/text.rs index 7d78b22c4..bc0306ab3 100644 --- a/rslib/src/text.rs +++ b/rslib/src/text.rs @@ -104,7 +104,7 @@ lazy_static! { pub static ref HTML_MEDIA_TAGS: Regex = Regex::new( r#"(?xsi) # the start of the image, audio, or object tag - <\b(?:img|audio|object)\b[^>]+\b(?:src|data)\b= + <\b(?:img|audio|video|object)\b[^>]+\b(?:src|data)\b= (?: # 1: double-quoted filename "