lukejpreston / junit_viewer

Start a mini service to view junit reports
39 stars 17 forks source link

Preserve spaces and line breaks in error #41

Closed paulo-raca closed 5 years ago

paulo-raca commented 5 years ago

Thanks for this tools, it is very nice!

One thing that is annoying me is that the stack trace is treated as one big string without line breaks.

Looking at the source code, line breaks and indentation are correctly preserved, so I think you need to use something like a <pre> tag to show it?

lukejpreston commented 5 years ago

Please upgrade to xunit viewer, this module has been deprecated for a long time and this issue has been addressed there. Let me know if you need help upgrading but it should be pretty straight forward if you follow the docs from there.

paulo-raca commented 5 years ago

Thanks!