From 3c6f794acd41f08e00958eb79261e32f2d61ed12 Mon Sep 17 00:00:00 2001
From: Kevin <2128707+kevinhowbrook@users.noreply.github.com>
Date: Wed, 9 Oct 2024 12:05:33 +0100
Subject: [PATCH] So links can render (#1053)
---
.../templates/patterns/pages/shortcourses/short_course.html | 2 +-
.../templates/patterns/pages/staff/staff_detail.html | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/rca/project_styleguide/templates/patterns/pages/shortcourses/short_course.html b/rca/project_styleguide/templates/patterns/pages/shortcourses/short_course.html
index b9b89c4ff..445cad1b7 100644
--- a/rca/project_styleguide/templates/patterns/pages/shortcourses/short_course.html
+++ b/rca/project_styleguide/templates/patterns/pages/shortcourses/short_course.html
@@ -65,7 +65,7 @@
{% include "patterns/organisms/image-video-block/image-video-block.html" with modal=page.video out_of_grid=True curriculum=False heading=False has_meta=False copy=False subheading=False image=page.introduction_image caption=page.video_caption video=page.video %}
{% endif %}
- {{ page.body|safe }}
+ {{ page.body|richtext }}
diff --git a/rca/project_styleguide/templates/patterns/pages/staff/staff_detail.html b/rca/project_styleguide/templates/patterns/pages/staff/staff_detail.html
index e8ec3f965..d3c2e79f5 100644
--- a/rca/project_styleguide/templates/patterns/pages/staff/staff_detail.html
+++ b/rca/project_styleguide/templates/patterns/pages/staff/staff_detail.html
@@ -62,7 +62,7 @@ {{ page.profile_type }}
{{ page.introduction}}
- {{ page.body|safe }}
+ {{ page.body|richtext }}