From e1d5ed006fbdb34082c749adef2c05741dae2392 Mon Sep 17 00:00:00 2001 From: Dheeraj Sayala Date: Sun, 20 Nov 2016 01:12:17 +0530 Subject: [PATCH] Close table tag in templatetag result In items_for_tree_result, there's a format_html call which builds HTML via string interpolation. It missed back slash in the closing tag. This commit adds that. --- categories/editor/templatetags/admin_tree_list_tags.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/categories/editor/templatetags/admin_tree_list_tags.py b/categories/editor/templatetags/admin_tree_list_tags.py index c3bba24..2af33d6 100644 --- a/categories/editor/templatetags/admin_tree_list_tags.py +++ b/categories/editor/templatetags/admin_tree_list_tags.py @@ -108,7 +108,7 @@ def items_for_tree_result(cl, result, form): result_id = escapejs(value) yield mark_safe( format_html( - '<{}{}>{}<{}>', + '<{}{}>{}', table_tag, row_class, url,