From 174fb27a6cb4fb652fa0f6eefbc330205ae18aed Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Mon, 12 Nov 2018 14:51:45 +0300 Subject: avoid double escaping --- src/main/java/com/juick/util/MessageUtils.java | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/main/java/com/juick/util') 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, "$1"); msg = msg.replaceAll("", "\n"); - msg = msg.replaceAll("&", "&"); - msg = msg.replaceAll("<", "<"); - msg = msg.replaceAll(">", ">"); msg = msg.replaceAll("\n", "
\n"); return msg; } -- cgit v1.2.3