-- #039; is not a tag
This commit is contained in:
parent
efce5ae1b9
commit
1c10cf1ad7
3 changed files with 342 additions and 339 deletions
|
@ -79,6 +79,8 @@ function create_tags_from_item($itemid) {
|
|||
foreach ($tags as $tag=>$link) {
|
||||
|
||||
if (substr(trim($tag), 0, 1) == "#") {
|
||||
if(ctype_digit(substr($tag,1)))
|
||||
continue;
|
||||
$type = TERM_HASHTAG;
|
||||
$term = substr($tag, 1);
|
||||
} elseif (substr(trim($tag), 0, 1) == "@") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue