diff --git a/lib/jasmine-core/jasmine.css b/lib/jasmine-core/jasmine.css index 3196e974..0a0ce800 100644 --- a/lib/jasmine-core/jasmine.css +++ b/lib/jasmine-core/jasmine.css @@ -49,6 +49,6 @@ body { background-color: #eeeeee; padding: 0; margin: 5px; overflow-y: scroll; } .html-reporter .suite a { color: #333333; } .html-reporter .failures .spec-detail { margin-bottom: 28px; } .html-reporter .failures .spec-detail .description { display: block; color: white; background-color: #b03911; } -.html-reporter .result-message { padding-top: 14px; color: #333333; } +.html-reporter .result-message { padding-top: 14px; color: #333333; white-space: pre; } .html-reporter .result-message span.result { display: block; } .html-reporter .stack-trace { margin: 5px 0 0 0; max-height: 224px; overflow: auto; line-height: 18px; color: #666666; border: 1px solid #dddddd; background: white; white-space: pre; } diff --git a/src/html/_HTMLReporter.scss b/src/html/_HTMLReporter.scss index 0e8e93e2..e6de53f4 100644 --- a/src/html/_HTMLReporter.scss +++ b/src/html/_HTMLReporter.scss @@ -305,6 +305,8 @@ body { padding-top: $line-height; color: $text-color; + + white-space: pre; } .result-message span.result { diff --git a/src/html/jasmine.css b/src/html/jasmine.css index 3196e974..0a0ce800 100644 --- a/src/html/jasmine.css +++ b/src/html/jasmine.css @@ -49,6 +49,6 @@ body { background-color: #eeeeee; padding: 0; margin: 5px; overflow-y: scroll; } .html-reporter .suite a { color: #333333; } .html-reporter .failures .spec-detail { margin-bottom: 28px; } .html-reporter .failures .spec-detail .description { display: block; color: white; background-color: #b03911; } -.html-reporter .result-message { padding-top: 14px; color: #333333; } +.html-reporter .result-message { padding-top: 14px; color: #333333; white-space: pre; } .html-reporter .result-message span.result { display: block; } .html-reporter .stack-trace { margin: 5px 0 0 0; max-height: 224px; overflow: auto; line-height: 18px; color: #666666; border: 1px solid #dddddd; background: white; white-space: pre; }