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.
This commit is contained in:
Dheeraj Sayala 2016-11-20 01:12:17 +05:30 committed by Brent O'Connor
parent 9d219eb7c7
commit e1d5ed006f

View file

@ -108,7 +108,7 @@ def items_for_tree_result(cl, result, form):
result_id = escapejs(value) result_id = escapejs(value)
yield mark_safe( yield mark_safe(
format_html( format_html(
'<{}{}><a href="{}"{}>{}</a><{}>', '<{}{}><a href="{}"{}>{}</a></{}>',
table_tag, table_tag,
row_class, row_class,
url, url,