aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.MediaEncoding/Subtitles/SrtParser.cs
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2014-08-24 18:56:00 -0400
committerLuke <luke.pulverenti@gmail.com>2014-08-24 18:56:00 -0400
commit6faca263a84996bd9964eafaa636c95b4cb57f64 (patch)
tree27ceff567a7655370441ab08253fd564f980a208 /MediaBrowser.MediaEncoding/Subtitles/SrtParser.cs
parentd92936187d2e0a4391dbca6ea182bdb180c3dece (diff)
parent0cb3c396367812a51ecb79b976cbeae50b97ab7b (diff)
Merge pull request #900 from lalmanzar/master
change newline value
Diffstat (limited to 'MediaBrowser.MediaEncoding/Subtitles/SrtParser.cs')
-rw-r--r--MediaBrowser.MediaEncoding/Subtitles/SrtParser.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.MediaEncoding/Subtitles/SrtParser.cs b/MediaBrowser.MediaEncoding/Subtitles/SrtParser.cs
index f94fae9e9..84cd1eb2d 100644
--- a/MediaBrowser.MediaEncoding/Subtitles/SrtParser.cs
+++ b/MediaBrowser.MediaEncoding/Subtitles/SrtParser.cs
@@ -48,7 +48,7 @@ namespace MediaBrowser.MediaEncoding.Subtitles
}
multiline.Add(line);
}
- subEvent.Text = string.Join(@"\N", multiline);
+ subEvent.Text = string.Join(@"\n", multiline);
subEvent.Text = Regex.Replace(subEvent.Text, @"\{(\\[\w]+\(?([\w\d]+,?)+\)?)+\}", string.Empty, RegexOptions.IgnoreCase);
subEvent.Text = Regex.Replace(subEvent.Text, "<", "&lt;", RegexOptions.IgnoreCase);
subEvent.Text = Regex.Replace(subEvent.Text, ">", "&gt;", RegexOptions.IgnoreCase);