Skip to content

Commit a92c6d5

Browse files
committed
fix: add support for space, escape characters in logs renderer
1 parent 1a34211 commit a92c6d5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Shared/Components/CICDHistory/LogStageAccordion.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,13 +95,13 @@ const LogStageAccordion = ({
9595
>
9696
<span
9797
ref={scrollIntoView}
98-
className="cn-4 col-2 lh-20 dc__text-align-end dc__word-break mono fs-14"
98+
className="cn-4 col-2 lh-20 dc__text-align-end dc__word-break mono fs-14 dc__user-select-none"
9999
data-contains-match={doesLineContainSearchMatch}
100100
>
101101
{logsIndex + 1}
102102
</span>
103-
<p
104-
className="mono fs-14 mb-0-imp cn-0 dc__word-break lh-20"
103+
<pre
104+
className="mono fs-14 mb-0-imp cn-0 dc__word-break lh-20 dc__unset-pre"
105105
// eslint-disable-next-line react/no-danger
106106
dangerouslySetInnerHTML={{
107107
__html: DOMPurify.sanitize(log),

0 commit comments

Comments
 (0)