diff --git a/assets/javascripts/mailcatcher.js.coffee b/assets/javascripts/mailcatcher.js.coffee index fbac9779..646867b6 100644 --- a/assets/javascripts/mailcatcher.js.coffee +++ b/assets/javascripts/mailcatcher.js.coffee @@ -276,7 +276,7 @@ class MailCatcher text = message_iframe.text() text = text.replace(/((http|ftp|https):\/\/[\w\-_]+(\.[\w\-_]+)+([\w\-\.,@?^=%&:\/~\+#]*[\w\-\@?^=%&\/~\+#])?)/g, """$1""") text = text.replace(/\n/g, "
") - message_iframe.find("html").html("#{text}") + message_iframe.find("html").html("
#{text}
") refresh: -> $.getJSON "/messages", (messages) =>