mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 19:22:53 +01:00
Fixed #3 - no longer removes last letter
This commit is contained in:
parent
3b8d9aecc9
commit
1eae4682e6
@ -2428,7 +2428,7 @@ namespace Nikse.SubtitleEdit.Logic
|
||||
else if (firstIndex == 0)
|
||||
text = text.Remove(0, 4);
|
||||
else
|
||||
text = text.Substring(0, firstIndex - 1) + text.Substring(firstIndex + endTag.Length);
|
||||
text = text.Substring(0, firstIndex) + text.Substring(firstIndex + endTag.Length);
|
||||
}
|
||||
|
||||
if (italicBeginTagCount == 2 && italicEndTagCount == 1)
|
||||
|
Loading…
Reference in New Issue
Block a user