diff --git a/files/assets/js/submit.js b/files/assets/js/submit.js
index 2ea2f2951..980b669c9 100644
--- a/files/assets/js/submit.js
+++ b/files/assets/js/submit.js
@@ -189,16 +189,14 @@ function markdown() {
if(emojis != null){
for(i = 0; i < emojis.length; i++){
var emoji = emojis[i][0]
- if (emoji.startsWith("!"))
+ var remoji = emoji.replace(/:/g,'');
+ if (remoji.startsWith("!"))
{
- style = 'style="transform: scaleX(-1)"';
- var remoji = emoji.substring(1);
+ input = input.replace(emoji, "
")
} else {
- style = "";
- var remoji = emoji.replace(/:/g,'');
+ input = input.replace(emoji, "
")
}
- input = input.replace(emoji, "
")
}
}
diff --git a/files/templates/submit.html b/files/templates/submit.html
index 00ce3a480..4b149fa8b 100644
--- a/files/templates/submit.html
+++ b/files/templates/submit.html
@@ -4,7 +4,7 @@
-
+