From f23b3f400983c95291f487c98ecc6a4fc993473e Mon Sep 17 00:00:00 2001
From: Igor Biki <ibiki@waterloo.ca>
Date: Mon, 15 Aug 2022 15:37:24 -0400
Subject: [PATCH] ISTWCMS-5618: Using markdown parser to parse links and bio
 field.

---
 source/_patterns/03-layouts/ofis/ofis-profile.twig | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/source/_patterns/03-layouts/ofis/ofis-profile.twig b/source/_patterns/03-layouts/ofis/ofis-profile.twig
index 830db070..cb35092c 100644
--- a/source/_patterns/03-layouts/ofis/ofis-profile.twig
+++ b/source/_patterns/03-layouts/ofis/ofis-profile.twig
@@ -18,10 +18,10 @@
         <div>Phone: {{ ofis_data.profile.profile_phones }}</div>
       {% endif %}
       {% if ofis_data.profile.personal_url %}
-        <div><a href="{{ ofis_data.profile.personal_url }}">Personal Website</a></div>
+        <div>Personal Website: {{ ofis_data.profile.personal_url | striptags('<a>') | raw }}</div>
       {% endif %}
       {% if ofis_data.profile.lab_url %}
-        <div><a href="{{ ofis_data.profile.lab_url }}">Lab/Research Website</a></div>
+        <div>Lab/Research Website: {{ ofis_data.profile.lab_url | striptags('<a>') | raw }}</div>
       {% endif %}
       {% if ofis_data.profile.active %}
         <div>Status: {{ ofis_data.profile.active }}</div>
@@ -33,7 +33,7 @@
   </div>
   {% if ofis_data.profile.profile_bio %}
     <h2>Biography</h2>
-    <div>{{ ofis_data.profile.profile_bio }}</div>
+    <div>{{ ofis_data.profile.profile_bio | raw }}</div>
   {% endif %}
   {% if ofis_data.profile.research %}
     <h2>Research Interests</h2>
-- 
GitLab