function tag_link($content){
global $CACHE;
$tag_cache = $CACHE->readCache('tags');
foreach($tag_cache as $value){
$tag_url = Url::tag($value['tagurl']);
$keyword = $value['tagname'];
$cleankeyword = stripslashes($keyword);
$url = "{$cleankeyword}";
$regEx = '\'(?!((<.*?)|(]*?)>)|([^>]*?))\'s';
$content = preg_replace($regEx,$url,$content);
}
return $content;
}