Skip to content

WIP: Replace all \n and \r combinations to <br> for HTML view of log

Sjoerd Mulder requested to merge sjoerdmulder/gitlab-ce:ansi2html-fix into master

What does this MR do?

Fixes build logs that emit both \n\r or \r\n or \r or \n to output correct new-line in the HTML view

Are there points in the code the reviewer needs to double check?

Why was this MR needed?

Because my build-log contains multiple new lines that shouldn't be there (an SBT build)

Screenshots (if relevant)

Screenshot_from_2016-09-19_19-51-20

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Merge request reports