added nh_safe filter in envipytags.py and updated some of the existing 'safe' to 'nh_safe'

This commit is contained in:
Liam Brydon
2025-10-21 09:10:28 +13:00
parent 8d955d685c
commit 43bce8a4e1
5 changed files with 18 additions and 6 deletions

View File

@ -1,4 +1,5 @@
{% extends "framework.html" %}
{% load envipytags %}
{% load static %}
{% block content %}
@ -207,7 +208,7 @@
</div>
<div id="Description" class="panel-collapse collapse in">
<div class="panel-body list-group-item" id="DescriptionContent">
{{ pathway.description | safe }}
{{ pathway.description | nh_safe }}
</div>
</div>