diff --git a/isso/js/app/utils.js b/isso/js/app/utils.js
index <HASH>..<HASH> 100644
--- a/isso/js/app/utils.js
+++ b/isso/js/app/utils.js
@@ -63,8 +63,9 @@ define(["app/i18n"], function(i18n) {
     };
 
     var detext = function(text) {
-        return escape(text.replace(/\n\n/gi, '<br><div><br></div>')
-                          .replace(/\n/gi, '<br>'));
+        text = escape(text);
+        return text.replace(/\n\n/gi, '<br><div><br></div>')
+                   .replace(/\n/gi, '<br>');
     };
 
     return {
fix order of converting HTML back to text

Fixes a regression introduced by ad<I>e, which escapes wanted line
breaks, such as <br /> and <div>.