logo       

[geeklog-cvs] geeklog: Fixed missing whitespace around the link text in the: msg#00029

geeklog-cvs

Subject: [geeklog-cvs] geeklog: Fixed missing whitespace around the link text in the Pi...

details: http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/c607c286b39b
changeset: 7189:c607c286b39b
user: Dirk Haun <dirk@xxxxxxxxxxxxxx>
date: Sun Jul 26 09:46:15 2009 +0200
description:
Fixed missing whitespace around the link text in the Pingback text excerpt

diffstat:

system/lib-pingback.php | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)

diffs (27 lines):

diff -r caabae3fddb6 -r c607c286b39b system/lib-pingback.php
--- a/system/lib-pingback.php Sat Jul 25 22:55:01 2009 +0200
+++ b/system/lib-pingback.php Sun Jul 26 09:46:15 2009 +0200
@@ -270,9 +270,6 @@
}
}

- $bspace = (MBYTE_substr($before, -1) == ' ' ? true : false);
- $aspace = (MBYTE_substr($after, 0, 1) == ' ' ? true : false);
-
$before = trim($before);
$after = trim($after);

@@ -335,11 +332,11 @@
}

// actual link text
- if (!empty($before) && $bspace) {
+ if (!empty($before)) {
$retval .= ' ';
}
$retval .= $linktext;
- if (!empty($after) && $aspace) {
+ if (!empty($after)) {
$retval .= ' ';
}

_______________________________________________
geeklog-cvs mailing list
geeklog-cvs@xxxxxxxxxxxxxxxxx
http://eight.pairlist.net/mailman/listinfo/geeklog-cvs

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | Mail Home | sitemap | FAQ | advertise