aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorFabio Comuni <fabrix.xm@gmail.com>2011-01-28 10:08:39 +0100
committerFabio Comuni <fabrix.xm@gmail.com>2011-01-28 10:08:39 +0100
commitbf8dadb9700fd0600a38116bf03588883350aab1 (patch)
treea0f4c07381c9c32aff694ecceaad37bf5fdf8aa4 /boot.php
parent444d82a5328433fbe48e18b928d35218905a756c (diff)
parent5d77bd9489763721b8f3e4a51c8cef1181276157 (diff)
downloadvolse-hubzilla-bf8dadb9700fd0600a38116bf03588883350aab1.tar.gz
volse-hubzilla-bf8dadb9700fd0600a38116bf03588883350aab1.tar.bz2
volse-hubzilla-bf8dadb9700fd0600a38116bf03588883350aab1.zip
Merge remote branch 'friendika-master/master'
Diffstat (limited to 'boot.php')
-rw-r--r--boot.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/boot.php b/boot.php
index adb1b96f8..3cc98cc9b 100644
--- a/boot.php
+++ b/boot.php
@@ -3,7 +3,7 @@
set_time_limit(0);
define ( 'BUILD_ID', 1033 );
-define ( 'FRIENDIKA_VERSION', '2.01.1006' );
+define ( 'FRIENDIKA_VERSION', '2.10.0902' );
define ( 'DFRN_PROTOCOL_VERSION', '2.0' );
define ( 'EOL', "<br />\r\n" );
@@ -1692,7 +1692,7 @@ function get_tags($s) {
$s = preg_replace('/\[code\](.*?)\[\/code\]/sm','',$s);
- if(preg_match_all('/([@#][^ \x0D\x0A,:?]*)([ \x0D\x0A,:?]|$)/',$s,$match)) {
+ if(preg_match_all('/([@#][^ \x0D\x0A,:?]+)([ \x0D\x0A,:?]|$)/',$s,$match)) {
foreach($match[1] as $match) {
if(strstr($match,"]")) {
// we might be inside a bbcode color tag - leave it alone
@@ -1878,7 +1878,7 @@ function aes_encrypt($val,$ky)
if(! function_exists('linkify')) {
function linkify($s) {
- $s = preg_replace("/(https?\:\/\/[a-zA-Z0-9\:\/\-\?\&\.\=\_\~\#\'\%]*)/", ' <a href="$1" >$1</a>', $s);
+ $s = preg_replace("/(https?\:\/\/[a-zA-Z0-9\:\/\-\?\&\.\=\_\~\#\'\%]*)/", ' <a href="$1" target="external-link">$1</a>', $s);
return($s);
}}