mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
Check video tags in media check
https://forums.ankiweb.net/t/video-tag-does-not-recognize-the-source-file-in-check-media/36850/2
This commit is contained in:
parent
f9d5f422e4
commit
ae6a03942f
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ lazy_static! {
|
||||||
pub static ref HTML_MEDIA_TAGS: Regex = Regex::new(
|
pub static ref HTML_MEDIA_TAGS: Regex = Regex::new(
|
||||||
r#"(?xsi)
|
r#"(?xsi)
|
||||||
# the start of the image, audio, or object tag
|
# 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
|
# 1: double-quoted filename
|
||||||
"
|
"
|
||||||
|
|
Loading…
Reference in a new issue