1
0
Эх сурвалжийг харах

Ticket #4639 - Hashtag is added as attached link.

AntonLV 2 жил өмнө
parent
commit
42acf0294b
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      inc/js/functions.js

+ 1 - 1
inc/js/functions.js

@@ -1519,7 +1519,7 @@ function bx_get_regexp(sType)
 {
     var o = {
         tag:"(<([^>]+bx-tag[^>]+)>)",
-        mention: "(<([^>]+bx-tag[^>]+)>)",
+        mention: "(<([^>]+bx-mention-link[^>]+)>)",
         url: "(([A-Za-z]{3,9}:(?:\\/\\/)?)(?:[\\-;:&=\\+\\$,\\w]+@)?[A-Za-z0-9\\.\\-]+|(?:www\\.|[\\-;:&=\\+\\$,\\w]+@)[A-Za-z0-9\\.\\-]+)((?:\\/[\\+~%#\\/\\.\\w\\-_!\\(\\)]*)?\\??(?:[\\-\\+=&;%@\\.\\w_]*)#?(?:[\\.\\!\\/\\w]*))?"
     };