aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/util/MessageUtils.java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-11-12 12:24:08 +0300
committerGravatar Vitaly Takmazov2018-11-12 12:24:08 +0300
commita1a06bebbdaae2a0a0e36381e005548a6423a8e6 (patch)
tree931ee04239b7c058a2ec42e3355a3f468884189e /src/main/java/com/juick/util/MessageUtils.java
parentf7eeb5c5d40648bf1e0f76dab4e68c96995872c7 (diff)
fix markdown urls
Diffstat (limited to 'src/main/java/com/juick/util/MessageUtils.java')
-rw-r--r--src/main/java/com/juick/util/MessageUtils.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/com/juick/util/MessageUtils.java b/src/main/java/com/juick/util/MessageUtils.java
index b1af2cdc..915f1748 100644
--- a/src/main/java/com/juick/util/MessageUtils.java
+++ b/src/main/java/com/juick/util/MessageUtils.java
@@ -155,6 +155,7 @@ public class MessageUtils {
// [link text][http://juick.com/last?page=2]
// <a href="http://juick.com/last?page=2" rel="nofollow">link text</a>
msg = msg.replaceAll(textUrlRegex, "<a href=\"$2\" rel=\"nofollow\">$1</a>");
+ msg = msg.replaceAll(textUrlRegex, "<a href=\"$2\" rel=\"nofollow\">$1</a>");
// #12345
// <a href="http://juick.com/12345">#12345</a>