Fix erreur balise

This commit is contained in:
Jean-Marie Favreau 2024-09-14 23:49:06 +02:00
parent a1c5819de0
commit a4fcaf952d

View File

@ -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>'
) )