From 40bd37fcdea9287489b31e8e994024d4c22ead4d Mon Sep 17 00:00:00 2001 From: Ugnich Anton Date: Sat, 26 Apr 2014 17:43:48 +0700 Subject: Markdown []() --- src/java/com/juick/http/www/PageTemplates.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/java/com/juick/http/www/PageTemplates.java b/src/java/com/juick/http/www/PageTemplates.java index b2586472..a7b2daf9 100644 --- a/src/java/com/juick/http/www/PageTemplates.java +++ b/src/java/com/juick/http/www/PageTemplates.java @@ -411,6 +411,7 @@ public class PageTemplates { // [link text][http://juick.com/last?page=2] // link text msg = msg.replaceAll("\\[([^\\]]+)\\]\\[((?:ht|f)tps?://[^\\]]+)\\]", "$1"); + msg = msg.replaceAll("\\[([^\\]]+)\\]\\(((?:ht|f)tps?://[^\\)]+)\\)", "$1"); // #12345 // #12345 -- cgit v1.2.3