mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-21 18:52:36 +01:00
parent
e5bc19548a
commit
bdfb3f1122
@ -909,6 +909,11 @@ namespace Nikse.SubtitleEdit.Core.Common
|
||||
input = input.Substring(lineStartIndex, lineEndIndex - lineStartIndex);
|
||||
|
||||
var startIndex = input.IndexOf("<", StringComparison.Ordinal);
|
||||
if (startIndex < 0)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
var endIndex = input.LastIndexOf("</", StringComparison.Ordinal);
|
||||
if (endIndex >= 0)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user