Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
todo_widget_tasks: Fix invalid <div> inside <label>.
Anders Kaseorg2dc2255f2608
diff --git a/web/templates/widgets/todo_widget_tasks.hbs b/web/templates/widgets/todo_widget_tasks.hbsindex b7a7dda8476..7b156f1f22b 100644--- a/web/templates/widgets/todo_widget_tasks.hbs+++ b/web/templates/widgets/todo_widget_tasks.hbs@@ -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}}