diff options
author | Vitaly Takmazov | 2018-11-12 12:24:08 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-11-12 12:24:08 +0300 |
commit | a1a06bebbdaae2a0a0e36381e005548a6423a8e6 (patch) | |
tree | 931ee04239b7c058a2ec42e3355a3f468884189e /src/main | |
parent | f7eeb5c5d40648bf1e0f76dab4e68c96995872c7 (diff) |
fix markdown urls
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/com/juick/util/MessageUtils.java | 1 |
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> |