Prevent Rhymix reserved namespaces from being registered as custom

This commit is contained in:
Kijin Sung 2023-08-12 09:50:10 +09:00
parent 5823253d60
commit 47996cb294
2 changed files with 7 additions and 2 deletions

View file

@ -252,7 +252,7 @@ class ModuleActionParser extends BaseParser
// Parse custom namespaces.
foreach ($xml->namespaces->namespace ?: [] as $namespace)
{
$info->namespaces[] = strval($namespace['name']);
$info->namespaces[] = trim($namespace['name'], '/\\');
}
// Parse custom prefixes.