diff options
author | Simon Ser <contact@emersion.fr> | 2019-12-18 16:26:46 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2020-01-20 16:20:15 +0100 |
commit | efaf6fd4448e6e3b70f4d3cd06bf15e89d84b590 (patch) | |
tree | 37b291b7d3e03a41045541b9ef86a7532db585c3 /plugins/base/public | |
parent | 721c3ce3eb41e76b0fddd2f5d42b0bfd99439bdd (diff) | |
download | alps-efaf6fd4448e6e3b70f4d3cd06bf15e89d84b590.tar.gz alps-efaf6fd4448e6e3b70f4d3cd06bf15e89d84b590.zip |
Open e-mail links in new tab
Diffstat (limited to 'plugins/base/public')
-rw-r--r-- | plugins/base/public/message.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/base/public/message.html b/plugins/base/public/message.html index cfb0169..343f79e 100644 --- a/plugins/base/public/message.html +++ b/plugins/base/public/message.html @@ -115,7 +115,8 @@ {{if .IsHTML}} <!-- TODO: add a src fallback --> <!-- allow-same-origin is required to resize the frame with its content --> - <iframe id="email-frame" srcdoc="{{.Body}}" sandbox="allow-same-origin"></iframe> + <!-- allow-popups is required for target="_blank" links --> + <iframe id="email-frame" srcdoc="{{.Body}}" sandbox="allow-same-origin allow-popups"></iframe> {{else}} <pre>{{.Body}}</pre> {{end}} |