aboutsummaryrefslogtreecommitdiffstats
path: root/include/text.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-02-04 19:39:56 -0800
committerfriendica <info@friendica.com>2014-02-04 19:39:56 -0800
commit8a11c2941395bdd325ac076bd22ad011fe41f3c7 (patch)
treea316119717113bea8af19c588637ca785bdc4f7d /include/text.php
parent9f439c3248c0464298e0b486a85ad74ec2df8270 (diff)
downloadvolse-hubzilla-8a11c2941395bdd325ac076bd22ad011fe41f3c7.tar.gz
volse-hubzilla-8a11c2941395bdd325ac076bd22ad011fe41f3c7.tar.bz2
volse-hubzilla-8a11c2941395bdd325ac076bd22ad011fe41f3c7.zip
make links in comments bookmark-able
Diffstat (limited to 'include/text.php')
-rwxr-xr-xinclude/text.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/text.php b/include/text.php
index dc7d94b6d..266d8952b 100755
--- a/include/text.php
+++ b/include/text.php
@@ -604,7 +604,7 @@ function get_tags($s) {
// bookmarks
- if(preg_match_all('/#\^\[(url|zrl)=(.*?)\](.*?)\[\/(url|zrl)\]/',$s,$match,PREG_SET_ORDER)) {
+ if(preg_match_all('/#\^\[(url|zrl)(.*?)\](.*?)\[\/(url|zrl)\]/',$s,$match,PREG_SET_ORDER)) {
foreach($match as $mtch) {
$ret[] = $mtch[0];
}