mirror of
https://github.com/jazzband/django-categories.git
synced 2026-03-16 22:30:24 +00:00
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:
parent
9d219eb7c7
commit
e1d5ed006f
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue