mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 19:22:53 +01:00
parent
7a625f7b3b
commit
dce7c5a6d6
@ -32,7 +32,7 @@ namespace Nikse.SubtitleEdit.Core
|
||||
return Regex.IsMatch(line);
|
||||
}
|
||||
|
||||
return line.EndsWith(Text, StringComparison.Ordinal);
|
||||
return line.EndsWith($" {Text}", StringComparison.Ordinal) || line.Equals(Text, StringComparison.Ordinal);
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
|
@ -273,7 +273,7 @@ namespace Nikse.SubtitleEdit.Core
|
||||
}
|
||||
else
|
||||
{
|
||||
_lastNoBreakAfterList.Add(new NoBreakAfterItem(" " + node.InnerText.TrimStart()));
|
||||
_lastNoBreakAfterList.Add(new NoBreakAfterItem(node.InnerText.TrimStart()));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user