                                 parent.removeChild s
                                 s = s2
                         process()
-                        process() while (parent.parentNode? && not parent.parentNode.classList.contains 'rt-editor')
-                        second = p2
+                        process() while (parent.parentNode? and
+                            not parent.parentNode.classList.contains 'rt-editor')
+                        after = p2
                         inserted = document.createElement 'p'
                         inserted.innerHTML = "<br />"
                         if parent.nextSibling
                             parent.parentNode.insertBefore inserted, parent.nextSibling
-                            parent.parentNode.insertBefore second, parent.nextSibling
+                            parent.parentNode.insertBefore after, parent.nextSibling
                         else
                             parent.parentNode.appendChild inserted
-                            parent.parentNode.appendChild second
+                            parent.parentNode.appendChild after
+                        ###
 
                         inserted.focus()
                         sel = window.getSelection()
                         sel.collapse inserted, 0
-                    , 50
+
+                    , 0
             )
 
 

                state.body = t('compose reply separator', {date: dateHuman, sender: sender}) +
                    MessageUtils.generateReplyText(text) + "\n"
                state.html = """
                    <p>#{t('compose reply separator', {date: dateHuman, sender: sender})}</p>
                    <blockquote>#{html}</blockquote>
                    """

                state.body = t('compose reply separator', {date: dateHuman, sender: sender}) +
                    MessageUtils.generateReplyText(text) + "\n"
                state.html = """
                    <p><br /></p>
                    <p>#{t('compose reply separator', {date: dateHuman, sender: sender})}</p>
                    <blockquote>#{html}</blockquote>
                    """
