mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-03 20:06:08 +01:00 
			
		
		
		
	fix(tasks): selection contains spaces
This commit is contained in:
		@@ -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;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user