diff --git a/libse/HtmlUtil.cs b/libse/HtmlUtil.cs
index 3db09f057..a147acdb8 100644
--- a/libse/HtmlUtil.cs
+++ b/libse/HtmlUtil.cs
@@ -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)