~sircmpwn/todo.sr.ht

11cf2a5c0957425926bab39d5fc21ed4248e0d11 — Drew DeVault 2 months ago 718feb6 0.62.6
label_badge: add nofollow

This can create a spider loop which ultimately forms increasingly
expensive search queries
1 files changed, 1 insertions(+), 1 deletions(-)

M todosrht/filters.py
M todosrht/filters.py => todosrht/filters.py +1 -1
@@ 106,7 106,7 @@ def label_badge(label, cls="", remove_from_ticket=None, terms=None):

    return Markup(
        f"""<span style="{style}" class="{html_class}" href="{search_url}">
            <a href="{search_url}">{name}</a>
            <a rel="nofollow" href="{search_url}">{name}</a>
            {remove_form}
        </span>"""
    )