diff --git a/src/app/pipes/create-links.pipe.ts b/src/app/pipes/create-links.pipe.ts index 72a8ced9f..9bcf6ddbb 100644 --- a/src/app/pipes/create-links.pipe.ts +++ b/src/app/pipes/create-links.pipe.ts @@ -22,7 +22,7 @@ import { Pipe, PipeTransform } from '@angular/core'; }) export class CoreCreateLinksPipe implements PipeTransform { - protected static replacePattern = /(\b(https?|ftp):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])(?![^<]*>|[^<>]*<\/)/gim; + protected static replacePattern = /(\b(https?|ftp):\/\/[-A-Z0-9+&@#/%?=~_|!:,.;]*[-A-Z0-9+&@#/%=~_|])(?![^<]*>|[^<>]*<\/)/gim; /** * Takes some text and adds anchor tags to all links that aren't inside anchors.