From 0b0e713aa101359c638be3587e6596f0b2ff1e76 Mon Sep 17 00:00:00 2001 From: Shish Date: Wed, 31 Dec 2008 12:59:14 -0800 Subject: [PATCH] minimum tag size --- ext/tag_list/main.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ext/tag_list/main.php b/ext/tag_list/main.php index 814faff4..51a46ed9 100644 --- a/ext/tag_list/main.php +++ b/ext/tag_list/main.php @@ -118,7 +118,9 @@ class TagList implements Extension { $h_tag = html_escape($row['tag']); $size = $row['scaled']; $link = $this->tag_link($row['tag']); - $html .= " $h_tag \n"; + if($size<0.5) $size = 0.5; + $h_tag_no_underscores = str_replace("_", " ", $h_tag); + $html .= " $h_tag_no_underscores \n"; } return $html; }