diff --git a/Resources/code.js b/Resources/code.js
index 9754278e..dce12ea1 100644
--- a/Resources/code.js
+++ b/Resources/code.js
@@ -127,16 +127,16 @@
     var html = $(tweet.outerHTML);
     var body = html.find(".tweet-body").first();
     
-    if (html.find(".icon-reply").length > 0){
-      return; // ignore sent messages
-    }
-    
     body.children("div.js-quote-detail").each(function(){
       $(this).html("(quoted tweet)");
     });
     
     body.children().not("p,span,div.js-quote-detail").remove();
     
+    if (html.find(".icon-reply").length > 0){
+      return; // ignore sent messages
+    }
+    
     var characters = html.find(".js-tweet-text:first").text().length;
     if (characters == 0)return;