From 110ce215557d885b8c2dddecd0d5dbd2a13f3f79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20M=C3=BCller?= <thomas.mueller@tmit.eu> Date: Tue, 7 Jul 2015 10:35:23 +0200 Subject: [PATCH] DIV -> div % " -> ' --- js/mail.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/mail.js b/js/mail.js index 604dba5a5..62ac21f77 100644 --- a/js/mail.js +++ b/js/mail.js @@ -873,9 +873,9 @@ var Mail = { }; this.htmlToText = function (html) { - var tmp = document.createElement("DIV"); + var tmp = document.createElement('div'); tmp.innerHTML = html; - return tmp.textContent || tmp.innerText || ""; + return tmp.textContent || tmp.innerText || ''; }; this.loadMessage = function(messageId, options) { -- GitLab