Fix ci
This commit is contained in:
parent
0d104cb307
commit
c5916e7b6d
@ -29,7 +29,7 @@ export class HtmlUtils {
|
|||||||
textReturn.innerText = text;
|
textReturn.innerText = text;
|
||||||
const urlRegex = /(https?:\/\/[^\s]+)/g;
|
const urlRegex = /(https?:\/\/[^\s]+)/g;
|
||||||
text.replace(urlRegex, (url: string) => {
|
text.replace(urlRegex, (url: string) => {
|
||||||
let link : HTMLAnchorElement = document.createElement('a');
|
const link : HTMLAnchorElement = document.createElement('a');
|
||||||
link.innerText = ` ${url}`;
|
link.innerText = ` ${url}`;
|
||||||
link.href = url;
|
link.href = url;
|
||||||
link.target = '_blank';
|
link.target = '_blank';
|
||||||
|
Loading…
Reference in New Issue
Block a user