karma-sonarqube-unit-reporter icon indicating copy to clipboard operation
karma-sonarqube-unit-reporter copied to clipboard

Strip error logs from invalid characters

Open serak88 opened this issue 4 years ago • 1 comments

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.

serak88 avatar May 11 '20 13:05 serak88

Fixes issue https://github.com/tornaia/karma-sonarqube-unit-reporter/issues/51

serak88 avatar May 11 '20 13:05 serak88