Skip to content

A self-hosted media server and file management system

chore: pint

aminnausin9eedfff56349
diff --git a/app/Services/Subtitles/Formats/VttStrategy.php b/app/Services/Subtitles/Formats/VttStrategy.php
index 9f7c1fb7..d0467929 100644
--- a/app/Services/Subtitles/Formats/VttStrategy.php
+++ b/app/Services/Subtitles/Formats/VttStrategy.php
@@ -133,7 +133,6 @@ class VttStrategy implements SubtitleFormatStrategy {
return preg_match('/^(?:[mnlbspc]|-?\d+(?:\.\d+)?|\s)+$/i', $text) === 1 && preg_match('/[mnlbspc]/i', $text) === 1 && preg_match('/\d/', $text) === 1;
-
// less robust?
if (! preg_match('/(?:^|\s)[mnlbspc](?=\s|$)/i', $text)) {