Fix issue with infinite loop if \ is used instead of / for tag closing.
This commit is contained in:
@@ -134,6 +134,10 @@ namespace FlaxEngine.Utilities
|
|||||||
if (isLeadingSlash)
|
if (isLeadingSlash)
|
||||||
Move();
|
Move();
|
||||||
|
|
||||||
|
// Dont process if wrong slash is used.
|
||||||
|
if (c =='\\')
|
||||||
|
return false;
|
||||||
|
|
||||||
// Parse tag
|
// Parse tag
|
||||||
bool result = ParseTag(ref tag, name);
|
bool result = ParseTag(ref tag, name);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user