mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Fix the broken regex in the builder
This commit is contained in:
@@ -176,7 +176,7 @@ function parseInternal(value: string, context: any): componentBuilder.ComponentM
|
||||
}, true);
|
||||
|
||||
if (types.isString(value)) {
|
||||
value = value.replace(/xmlns=("|')http:\/\/(www)|(schemas).nativescript.org\/tns.xsd\1/, "");
|
||||
value = value.replace(/xmlns=("|')http:\/\/((www)|(schemas))\.nativescript\.org\/tns\.xsd\1/, "");
|
||||
xmlParser.parse(value);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user