Safari: large chunks of long log file missing in graphical job log viewer due to deeply nested <span> tags if no escape characters
Summary
When viewing a job log file in Safari, chunks of it go missing when there are long runs of text without escape characters. It seems to be related to deeply nested tags being generated for this case.
Steps to reproduce
Visit https://gitlab.com/openid/conformance-suite/-/jobs/257901800 in Safari.
What is the current bug behavior?
If you search for '2019-07-24 05:29:13' you will see that text just before this has gone missing; for example the text 'Results for fapi-rw-id2-ob-with-mtls-test-plan with configuration authlete-fapi-rw-id2-ob-mtls.json' does not appear at all in Safari.
The html generated seems to have VERY deeply nested spans (hundreds if not thousands); that appears to be relevant.
The above is in Safari 12.1.1 on macOS. In Chrome 75.0.3770.142 (Official Build) (64-bit), the log displays fine.
The missing text ends when the sequence 'ESC[0mESC[01mESC[33m' occurs. It seems that the deeply nested span tags are caused by a long section of text with no escape characters.
What is the expected correct behavior?
The text should all appear, as it does in the 'complete raw log'.
Relevant logs and/or screenshots
Output of checks
This bug happens on GitLab.com