todo_widget_tasks: Fix invalid <div> inside <label>.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2025-09-05 17:52:24 -07:00
committed by Tim Abbott
parent 0dbe85fd34
commit 2dc2255f26

View File

@@ -1,17 +1,17 @@
{{#each all_tasks}}
<li>
<label class="checkbox">
<div class="todo-checkbox">
<span class="todo-checkbox">
<input type="checkbox" class="task" data-key="{{ key }}" {{#if completed}}checked{{/if}}/>
<span class="custom-checkbox"></span>
</div>
<div class="todo-task">
</span>
<span class="todo-task">
{{#if completed}}
<s><strong>{{ task }}</strong>{{#if desc }}: {{ desc }}{{/if}}</s>
{{else}}
<strong>{{ task }}</strong>{{#if desc }}: {{ desc }}{{/if}}
{{/if}}
</div>
</span>
</label>
</li>
{{/each}}