From 6b1708559a9d4b9c91494f30112cc18b36bd7591 Mon Sep 17 00:00:00 2001 From: Pavel Kvach Date: Mon, 23 Sep 2024 12:59:22 +0300 Subject: [PATCH] fix(ticktick): Fix TickTick adding extra xxxx at the start of the description (#2332) Closes #2312 --- src/content/ticktick.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/ticktick.js b/src/content/ticktick.js index 50aa48e47..805f6af50 100644 --- a/src/content/ticktick.js +++ b/src/content/ticktick.js @@ -7,7 +7,7 @@ togglbutton.render('#task-detail-view:not(.toggl)', { observe: true }, function } function getDescription () { - const descriptionEl = elem.querySelector('.task-title'); + const descriptionEl = elem.querySelector('.task-title .CodeMirror-code'); return descriptionEl ? descriptionEl.textContent.trim() : ''; }