diff --git a/src/system/archive/taglist.class.php b/src/system/archive/taglist.class.php
index ccaa4405..25126f12 100755
--- a/src/system/archive/taglist.class.php
+++ b/src/system/archive/taglist.class.php
@@ -500,14 +500,14 @@ class TagList
$purl = $this->tagsDir.'/'.$this->TagInfos['id'];
//获得上页和下页的链接
if ($this->PageNo != 1) {
- $prepage .= "
上页";
- $indexpage = "首页";
+ $prepage .= "上页";
+ $indexpage = "首页";
} else {
$indexpage = "首页";
}
if ($this->PageNo != $totalpage && $totalpage > 1) {
- $nextpage .= "下页";
- $endpage = "末页";
+ $nextpage .= "下页";
+ $endpage = "末页";
} else {
$endpage = "末页";
}
@@ -530,7 +530,7 @@ class TagList
if ($j == $this->PageNo) {
$listdd .= "$j";
} else {
- $listdd .= "$j";
+ $listdd .= "$j";
}
}
$plist = '';
diff --git a/src/system/taglib/tag.lib.php b/src/system/taglib/tag.lib.php
index 6f144986..3c7edb5a 100755
--- a/src/system/taglib/tag.lib.php
+++ b/src/system/taglib/tag.lib.php
@@ -53,7 +53,7 @@ function lib_tag(&$ctag, &$refObj)
$row['keyword'] = $row['tag'];
$row['tag'] = dede_htmlspecialchars($row['tag']);
if (isset($envs['makeTag']) && $envs['makeTag'] == 1 || $ishtml == 1) {
- $row['link'] = $cfg_cmsurl.$tagsdir."/".$row['id'];
+ $row['link'] = $cfg_cmsurl.$tagsdir."/".$row['id']."/";
} else {
$row['link'] = $cfg_cmsurl."/apps/tags.php?/".$row['id'];
}