Fix sanitize node name removing the "/" character.
This commit is contained in:
parent
ec12000136
commit
cd6df8b323
|
@ -16,7 +16,7 @@ function sanitizeNodeName(string) {
|
|||
'`': '',
|
||||
'=': ''
|
||||
};
|
||||
return String(string).replace(/[&<>"'`=\/]/g, function fromEntityMap (s) {
|
||||
return String(string).replace(/[&<>"'`=]/g, function fromEntityMap (s) {
|
||||
return entityMap[s];
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue