MOBILE-3565 pipes: Fix linting on pipes

main
Pau Ferrer Ocaña 2020-10-15 15:12:04 +02:00
parent b1e637812e
commit 6a61c9baef
1 changed files with 1 additions and 1 deletions

View File

@ -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.