Skip to content

Commit 7e8e365

Browse files
committed
linkify fix
1 parent b5beee2 commit 7e8e365

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/app/pipes/linkify.pipe.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ export class LinkifyPipe implements PipeTransform {
1212
}
1313

1414
private linkify(plainText): string{
15+
if(!plainText){
16+
return plainText;
17+
}
18+
1519
let replacedText;
1620
let replacePattern1;
1721
let replacePattern2;

0 commit comments

Comments
 (0)