bring back the body tag list - though it really belongs in the templates. It's difficult to debug community tags when you can't see any tags (except those the author typed in).

This commit is contained in:
friendica
2013-06-20 20:34:00 -07:00
parent 61601dc23d
commit 58ac92f4e1
3 changed files with 26 additions and 4 deletions

View File

@@ -83,9 +83,13 @@ function format_term_for_display($term) {
$s .= '#';
elseif($term['type'] == TERM_MENTION)
$s .= '@';
else
return $s;
if($term['url']) $s .= '<a target="extlink" href="' . $term['url'] . '">' . htmlspecialchars($term['term']) . '</a>';
else $s .= htmlspecialchars($term['term']);
if($term['url'])
$s .= '<a href="' . $term['url'] . '">' . htmlspecialchars($term['term']) . '</a>';
else
$s .= htmlspecialchars($term['term']);
return $s;
}