Fix erreur balise
This commit is contained in:
parent
a1c5819de0
commit
a4fcaf952d
@ -221,11 +221,11 @@ def legend_cat(category, url, selected=True):
|
|||||||
|
|
||||||
if category.pictogram:
|
if category.pictogram:
|
||||||
return mark_safe(
|
return mark_safe(
|
||||||
'<a href="' + url + '"<span class="cat ' + class_reduced + ' ' + c + ' circ-cat circ-large" data-tooltip="' + n + '">' + '<img src="' + category.pictogram.url + '" alt="' + category.name + '" /></span></a>'
|
'<a href="' + url + '"><span class="cat ' + class_reduced + ' ' + c + ' circ-cat circ-large" data-tooltip="' + n + '">' + '<img src="' + category.pictogram.url + '" alt="' + category.name + '" /></span></a>'
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
return mark_safe(
|
return mark_safe(
|
||||||
'<a href="' + url + '"<span class="cat ' + class_reduced + ' ' + c + ' circ-cat circ-large" data-tooltip="' + n + '"></span></a>'
|
'<a href="' + url + '"><span class="cat ' + class_reduced + ' ' + c + ' circ-cat circ-large" data-tooltip="' + n + '"></span></a>'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user