diff --git a/program/js/app.js b/program/js/app.js index cbda48a8d5..23095b93f4 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -4047,7 +4047,7 @@ function rcube_webmail() { if (action == 'show' || action == 'preview' || action == 'print') { // decrypt text body if (this.env.is_pgp_content) { - var data = $(this.env.is_pgp_content).text(); + var data = document.querySelector(this.env.is_pgp_content).contentDocument.body.textContent; ref.mailvelope_display_container(this.env.is_pgp_content, data, keyring); } // load pgp/mime message and pass it to the mailvelope display container