Skip to content

Commit 25395f7

Browse files
Merge pull request #473 from PermanentOrg/PER-9865-ensure-line-breaks-description
2 parents 706e1d7 + d236afb commit 25395f7

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

src/app/public/components/public-archive-web-links/public-archive-web-links.component.html

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,18 @@
1313
>
1414
{{ item }}
1515
</a>
16-
<a [ngbTooltip]="item" class="link" [href]="item | prependProtocol" *ngFor="let item of websites">
16+
<a
17+
[ngbTooltip]="item"
18+
class="link"
19+
[href]="item | prependProtocol"
20+
*ngFor="let item of websites"
21+
>
1722
{{ item }}
1823
</a>
1924
</div>
2025

2126
<div *ngIf="description" [ngClass]="componentName + '-about'">
2227
<p class="title">About</p>
23-
<p class="description">
24-
{{ description }}
25-
</p>
28+
<div [innerHTML]="description" class="description"></div>
2629
</div>
2730
</div>

src/app/public/components/public-archive-web-links/public-archive-web-links.component.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,5 @@
4949
letter-spacing: -0.02em;
5050
text-align: left;
5151
color: #777777;
52+
white-space: pre-line;
5253
}

0 commit comments

Comments
 (0)