diff options
Diffstat (limited to 'webclient/app.js')
-rw-r--r-- | webclient/app.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/webclient/app.js b/webclient/app.js index 2133a98cbf..651aeeaa77 100644 --- a/webclient/app.js +++ b/webclient/app.js @@ -70,4 +70,9 @@ matrixWebClient $timeout(function() { element[0].focus() }, 0); } }; - }]); + }]) + .filter('to_trusted', ['$sce', function($sce){ + return function(text) { + return $sce.trustAsHtml(text); + }; + }]); \ No newline at end of file |