1
0
Fork 0

bookmarks + bug #140

This commit is contained in:
Friendika 2011-09-04 19:58:03 -07:00
commit 82f7f33cf5
9 changed files with 48 additions and 9 deletions

View file

@ -13,7 +13,7 @@ function parse_url_content(&$a) {
$text = null;
$template = "<br /><a href=\"%s\" >%s</a>%s<br />";
$template = "<br /><a class=\"bookmark\" href=\"%s\" >%s</a>%s<br />";
$arr = array('url' => $url, 'text' => '');
@ -121,6 +121,10 @@ function parse_url_content(&$a) {
$title = str_replace("\n",'',$title);
echo sprintf($template,$url,($title) ? $title : $url,$text);
$result = sprintf($template,$url,($title) ? $title : $url,$text);
logger('parse_url: returns: ' . $result);
echo $result;
killme();
}