mirror of
https://github.com/DCsunset/taskwarrior-webui.git
synced 2025-08-23 20:46:42 +02:00
fix(frontend): remove debug info
This commit is contained in:
parent
302988b68c
commit
549a176cf6
1 changed files with 0 additions and 2 deletions
|
@ -228,7 +228,6 @@ function linkify(text: string) {
|
||||||
let lastIndex = 0;
|
let lastIndex = 0;
|
||||||
let result = '';
|
let result = '';
|
||||||
while ((match = regex.exec(text)) !== null) {
|
while ((match = regex.exec(text)) !== null) {
|
||||||
console.log(match[0], match.index);
|
|
||||||
const str = text.substring(lastIndex, match.index);
|
const str = text.substring(lastIndex, match.index);
|
||||||
const url = `<a target="_blank" href=${normalizeUrl(match[0])}>${match[0]}</a>`;
|
const url = `<a target="_blank" href=${normalizeUrl(match[0])}>${match[0]}</a>`;
|
||||||
result = `${result}${str}${url}`;
|
result = `${result}${str}${url}`;
|
||||||
|
@ -236,7 +235,6 @@ function linkify(text: string) {
|
||||||
}
|
}
|
||||||
result += text.substring(lastIndex);
|
result += text.substring(lastIndex);
|
||||||
|
|
||||||
console.log(result);
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue