mirror of
https://github.com/valitydev/wazuh-kibana-app.git
synced 2024-11-06 01:45:18 +00:00
Merge branch '3.12-6.8' of https://github.com/wazuh/wazuh-kibana-app into 3.12-6.8
This commit is contained in:
commit
a37e21aaa1
@ -86,6 +86,7 @@ app.directive('wzXmlFileEditor', function() {
|
||||
const text = $scope.xmlCodeBox.getValue();
|
||||
let xml = replaceIllegalXML(text);
|
||||
xml = xml.replace(/..xml.+\?>/, '');
|
||||
xml = xml.replace(/\\</, '\ <');
|
||||
xml = xml.replace(/\\</gm, '');
|
||||
xml = xml.replace(/<!--[\s\S\n]*?-->/gm, '');
|
||||
const xmlDoc = parser.parseFromString(
|
||||
|
Loading…
Reference in New Issue
Block a user