karma-sonarqube-unit-reporter
karma-sonarqube-unit-reporter copied to clipboard
Strip error logs from invalid characters
Colored fonts and backgrounds in logging reports are causing errors while creating the report XML. This fix adds a function that uses the same regex that XMLBuilder checks for unexpected characters and strips the report log from them.
Fixes issue https://github.com/tornaia/karma-sonarqube-unit-reporter/issues/51