changeset 89:f1bfca51a040

chat: urlized subject
author Goffi <goffi@goffi.org>
date Fri, 05 Jan 2018 16:27:25 +0100
parents 3724228e60be
children 042530200fe4
files default/chat/chat.html
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/default/chat/chat.html	Fri Jan 05 16:27:02 2018 +0100
+++ b/default/chat/chat.html	Fri Jan 05 16:27:25 2018 +0100
@@ -6,7 +6,7 @@
     <div id="messages">
     {% if subject is defined %}
         <div id="subject">
-            {{- subject -}}
+            {{- subject|urlize(nofollow=true,target='_blank') -}}
         </div>
     {% endif %}
     {% for msg in messages %}