From b02df18347212cf552cfdde7f794a475fa4a693a Mon Sep 17 00:00:00 2001 From: Tankred Hase Date: Tue, 13 May 2014 16:55:47 +0200 Subject: [PATCH] Make links in html clickable --- src/js/controller/read.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/js/controller/read.js b/src/js/controller/read.js index 9673790..750427e 100644 --- a/src/js/controller/read.js +++ b/src/js/controller/read.js @@ -344,7 +344,9 @@ define(function(require) { // wrap in html doc with scrollable html tag, since chrome apps does not scroll by default var prefix = ''; var suffix = ''; - scope.html = $sce.trustAsHtml(prefix + value + suffix); + // open links in new window, otherwise the sandbox with not open them + var clickableHtml = value.replace(/