Fix deadloop in HtmlParser when parsing text with incorrect tags

This commit is contained in:
Wojtek Figat
2025-06-27 11:56:09 +02:00
parent 45e82d21f4
commit 1b40775d62

View File

@@ -177,6 +177,8 @@ namespace FlaxEngine.Utilities
// Get name of this tag
int start = _pos;
string s = ParseTagName();
if (s == string.Empty)
return false;
// Special handling
bool doctype = _scriptBegin = false;