mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-25 04:33:04 +01:00
[HtmlUtil] - Make sure text contains '<'.
This commit is contained in:
parent
ce0f2fdd37
commit
16c8b4d59c
@ -403,7 +403,7 @@ namespace Nikse.SubtitleEdit.Core
|
||||
|
||||
public static string FixUpperTags(string text)
|
||||
{
|
||||
if (string.IsNullOrEmpty(text))
|
||||
if (string.IsNullOrEmpty(text) || !text.Contains('<'))
|
||||
return text;
|
||||
var idx = text.IndexOfAny(UppercaseTags, StringComparison.Ordinal);
|
||||
while (idx >= 0)
|
||||
|
Loading…
Reference in New Issue
Block a user