summary refs log tree commit diff
path: root/syweb
diff options
context:
space:
mode:
authorMatthew Hodgson <matthew@matrix.org>2014-11-11 05:27:18 +0000
committerMatthew Hodgson <matthew@matrix.org>2014-11-11 05:27:18 +0000
commit217c082ac1b99cfebd62eff0703ce1babfb3131b (patch)
tree175957e0f4047a3ac21376b29779c0a16b4ae6fa /syweb
parentwrap fully qualified user IDs more intelligently (diff)
downloadsynapse-217c082ac1b99cfebd62eff0703ce1babfb3131b.tar.xz
linky topics
Diffstat (limited to 'syweb')
-rw-r--r--syweb/webclient/room/room.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/syweb/webclient/room/room.html b/syweb/webclient/room/room.html
index d4977e56a6..430a37afd4 100644
--- a/syweb/webclient/room/room.html
+++ b/syweb/webclient/room/room.html
@@ -103,8 +103,8 @@
                     Set Topic
                 </button>
                 <div ng-show="room.current_room_state.state_events['m.room.topic'].content.topic || topic.isEditing">
-                    <div ng-hide="topic.isEditing" ng-dblclick="topic.editTopic()" id="roomTopic">
-                        {{ room.current_room_state.state_events['m.room.topic'].content.topic | limitTo: 200}}
+                    <div ng-hide="topic.isEditing" ng-dblclick="topic.editTopic()" id="roomTopic"
+                         ng-bind-html="room.current_room_state.state_events['m.room.topic'].content.topic | limitTo: 200 | linky:'_blank'">
                     </div>
                     <form ng-submit="topic.updateTopic()" ng-show="topic.isEditing" class="roomTopicForm">
                         <input ng-model="topic.newTopicText" ng-blur="topic.cancelEdit()" class="roomTopicInput"  placeholder="Topic"/>