除去空tag
This commit is contained in:
@@ -39,7 +39,9 @@
|
||||
?>
|
||||
<h3>其他标签</h3>
|
||||
<div class="tag-cloud">
|
||||
<?php foreach ($remaining_tags as $tag): ?>
|
||||
<?php foreach ($remaining_tags as $tag):
|
||||
if (trim($tag) == "" || trim($tag) == " ") continue;
|
||||
?>
|
||||
<a href="problemset.php?search=<?php echo urlencode(trim($tag)); ?>" class="ui label"><?php echo trim($tag); ?></a>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user