aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-11-12 14:51:45 +0300
committerGravatar Vitaly Takmazov2018-11-12 14:51:45 +0300
commit174fb27a6cb4fb652fa0f6eefbc330205ae18aed (patch)
tree302f4ba20ddf1125ea5386e7d858c33c9f743b53 /src
parent830f62be6710265d4731276eeddf001fc3e0f80d (diff)
avoid double escaping
Diffstat (limited to 'src')
-rw-r--r--src/main/java/com/juick/util/MessageUtils.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/main/java/com/juick/util/MessageUtils.java b/src/main/java/com/juick/util/MessageUtils.java
index 4d31a6cd..e6cd6306 100644
--- a/src/main/java/com/juick/util/MessageUtils.java
+++ b/src/main/java/com/juick/util/MessageUtils.java
@@ -205,9 +205,6 @@ public class MessageUtils {
msg = msg.replaceAll(citateRegex, "<q>$1</q>");
msg = msg.replaceAll("</q><q>", "\n");
- msg = msg.replaceAll("&", "&amp;");
- msg = msg.replaceAll("<", "&lt;");
- msg = msg.replaceAll(">", "&gt;");
msg = msg.replaceAll("\n", "<br/>\n");
return msg;
}