From 6a61c9baef4079af9cae20a2a15df6a36a171398 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= Date: Thu, 15 Oct 2020 15:12:04 +0200 Subject: [PATCH] MOBILE-3565 pipes: Fix linting on pipes --- src/app/pipes/create-links.pipe.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.