mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 10:02:59 +08:00
fix(tasks): selection contains spaces
This commit is contained in:
parent
0ba4c9b9c7
commit
b91b243432
@ -61,10 +61,7 @@ function buildTasks(tasks: FTask[]) {
|
||||
let html = '';
|
||||
|
||||
for (const task of tasks) {
|
||||
html += `\
|
||||
<li class="task">
|
||||
<input type="checkbox" class="check" data-task-id="${task.taskId}" ${task.isDone ? "checked" : ""} /> ${task.title}
|
||||
</li>`;
|
||||
html += `<li class="task"><input type="checkbox" class="check" data-task-id="${task.taskId}" ${task.isDone ? "checked" : ""} />${task.title}</li>`;
|
||||
}
|
||||
|
||||
return html;
|
||||
|
Loading…
x
Reference in New Issue
Block a user