Skip to content

Commit

Permalink
View Alerts: Sanitize and mark safe
Browse files Browse the repository at this point in the history
  • Loading branch information
Maffooch committed Jan 17, 2025
1 parent 4789d4b commit c76b8db
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dojo/templates/dojo/alerts.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{% extends "base.html" %}
{% load i18n %}
{% load static %}
{% load display_tags %}
{% block content %}
{{ block.super }}
<div class="row">
Expand Down Expand Up @@ -28,7 +29,7 @@
<td class="text-center"><i class="fa-solid fa-{{ alert.icon }} fa-fw"></i></td>
<td class="text-center">{{ alert.source }}</td>
<td>{%if alert.url %}<a href="{{ alert.url }}">{% endif %}{{ alert.title }}{% if alert.url %}</a>{% endif %}</td>
<td>{{ alert.description|linebreaks }}</td>
<td>{{ alert.description|markdown_render|linebreaks }}</td>
<td>{{ alert.created }}</td>
<td class="centered">
<input type="checkbox" name="alert_select" value="{{ alert.id }}"
Expand Down

0 comments on commit c76b8db

Please sign in to comment.