Do not remove music symbols in cmd line "removeformatting" - thx Sebastien :)

This commit is contained in:
Nikolaj Olsson 2019-09-20 22:31:57 +02:00
parent 1f843c9dd6
commit e1e39b236e

View File

@ -1001,7 +1001,7 @@ namespace Nikse.SubtitleEdit.Logic
{
foreach (var p in sub.Paragraphs)
{
p.Text = HtmlUtil.RemoveHtmlTags(p.Text.Replace("♪", string.Empty).Replace("♫", string.Empty), true).Trim();
p.Text = HtmlUtil.RemoveHtmlTags(p.Text, true).Trim();
}
}
if ((actions & BatchAction.FixCommonErrors) == BatchAction.FixCommonErrors)