mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-24 19:14:56 +01:00
fix subtitle unit tests
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using MediaBrowser.Common.Extensions;
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Text;
|
||||
using System.Threading;
|
||||
@@ -147,7 +148,9 @@ namespace MediaBrowser.MediaEncoding.Subtitles
|
||||
|
||||
public static string GetFormattedText(string text)
|
||||
{
|
||||
text = text.Replace("\\n", Environment.NewLine).Replace("\\n", Environment.NewLine);
|
||||
text = text.Replace("\\n", ParserValues.NewLine, StringComparison.OrdinalIgnoreCase)
|
||||
.Replace("\\n", ParserValues.NewLine, StringComparison.OrdinalIgnoreCase);
|
||||
|
||||
bool italic = false;
|
||||
|
||||
for (int i = 0; i < 10; i++) // just look ten times...
|
||||
|
||||
Reference in New Issue
Block a user