MOBILE-3565 pipes: Fix linting on pipes
parent
b1e637812e
commit
6a61c9baef
|
@ -22,7 +22,7 @@ import { Pipe, PipeTransform } from '@angular/core';
|
||||||
})
|
})
|
||||||
export class CoreCreateLinksPipe implements PipeTransform {
|
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.
|
* Takes some text and adds anchor tags to all links that aren't inside anchors.
|
||||||
|
|
Loading…
Reference in New Issue