From 9ecc92b9a510341ef12eadc1e507804e8dd5b97a Mon Sep 17 00:00:00 2001
From: chylex <info@chylex.com>
Date: Wed, 8 Mar 2017 21:18:58 +0100
Subject: [PATCH] Fix emoji keyboard separators only working for the first case

---
 Resources/Plugins/emoji-keyboard/browser.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Resources/Plugins/emoji-keyboard/browser.js b/Resources/Plugins/emoji-keyboard/browser.js
index b3a0997d..04b270a9 100644
--- a/Resources/Plugins/emoji-keyboard/browser.js
+++ b/Resources/Plugins/emoji-keyboard/browser.js
@@ -154,7 +154,7 @@ ready(){
     }
     
     let start = "<p style='font-size:13px;color:#444;margin:4px;text-align:center'>Please, note that most emoji will not show up properly in the text box above, but they will display in the tweet.</p>";
-    this.emojiHTML = start+TD.util.cleanWithEmoji(generated.join("")).replace("___", "<div class='separator'></div>");
+    this.emojiHTML = start+TD.util.cleanWithEmoji(generated.join("")).replace(/___/g, "<div class='separator'></div>");
   }).catch(err => {
     $TD.alert("error", "Problem loading emoji keyboard: "+err.message);
   });