mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-12-05 06:35:23 +09:00
Update MediaBrowser.MediaEncoding/Subtitles/AssParser.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
This commit is contained in:
1 parent
8f88d0d2cb
commit
256bb3ee98
1 file changed
+1
-1
@@ -57,7 +57,7 @@ namespace MediaBrowser.MediaEncoding.Subtitles
|
||||
|
||||
subEvent.Text = subEvent.Text.Replace("\\n", ParserValues.NewLine, StringComparison.OrdinalIgnoreCase);
|
||||
|
||||
subEvent.Text = Regex.Replace(subEvent.Text, @"\{(\\[\w]+\(?([\w[0-9]]+,?)+\)?)+\}", string.Empty, RegexOptions.IgnoreCase);
|
||||
subEvent.Text = Regex.Replace(subEvent.Text, @"\{(\\[\w]+\(?([\w0-9]+,?)+\)?)+\}", string.Empty, RegexOptions.IgnoreCase);
|
||||
|
||||
trackEvents.Add(subEvent);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user