mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-10-28 06:52:35 +01:00
Uses normal space (char32) and not non-breaking unicode space (char160) in format sami
This commit is contained in:
parent
fd9afb25c4
commit
4ca67ca9c1
@ -412,6 +412,11 @@ namespace Nikse.SubtitleEdit.Logic.SubtitleFormats
|
||||
(subtitle.Paragraphs[subtitle.Paragraphs.Count-1].Text.ToUpper().Trim() == "</BODY>" ||
|
||||
subtitle.Paragraphs[subtitle.Paragraphs.Count-1].Text.ToUpper().Trim() == "<BODY>"))
|
||||
subtitle.Paragraphs.RemoveAt(subtitle.Paragraphs.Count - 1);
|
||||
|
||||
foreach (Paragraph p2 in subtitle.Paragraphs)
|
||||
{
|
||||
p2.Text = p2.Text.Replace(Convert.ToChar(160), ' '); // non-breaking space to normal space
|
||||
}
|
||||
}
|
||||
|
||||
public override bool HasStyleSupport
|
||||
|
Loading…
Reference in New Issue
Block a user