whatever...

master
UbitUmarov 2020-05-18 00:28:24 +01:00
parent 4fa8e20aab
commit 9ecee558b5
1 changed files with 1 additions and 7 deletions

View File

@ -400,13 +400,7 @@ namespace OpenSim.Framework.Serialization.External
/// <returns></returns>
public static string SanitizeXml(string xmlData)
{
string fixedData = xmlData;
if (fixedData != null)
// Loop, because it may contain multiple
while (fixedData.Contains("xmlns:xmlns:"))
fixedData = fixedData.Replace("xmlns:xmlns:", "xmlns:");
return fixedData;
return xmlData.Replace("xmlns:xmlns:", "xmlns:");
}
}
}