Merge branch '3.12-6.8' of https://github.com/wazuh/wazuh-kibana-app into 3.12-6.8

This commit is contained in:
JuanCarlos 2020-03-30 17:37:54 +02:00
commit a37e21aaa1
No known key found for this signature in database
GPG Key ID: B1C4FB733616273A

View File

@ -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(