jstemmer / go-junit-report

Convert Go test output to JUnit XML
MIT License
763 stars 222 forks source link

Remove ANSI escape sequences from output #162

Open ZexDC opened 1 year ago

ZexDC commented 1 year ago

Detect and remove ANSI escape sequences from output as mentioned here.

sruehl commented 1 year ago

@ZexDC this lib is also stripping \u009B. There is a discussion also on SO regarding those sequences. Might be good if really all sequences get stripped.

ZexDC commented 1 year ago

@ZexDC this lib is also stripping \u009B. There is a discussion also on SO regarding those sequences. Might be good if really all sequences get stripped.

Thanks, I added the changes to this PR.

ZexDC commented 1 year ago

@jstemmer please let me know if this can be merged :)