Update tablewiz.php
This commit is contained in:
parent
f9c280c6bf
commit
5947c1be7e
|
@ -9,7 +9,8 @@
|
|||
if(!function_exists("tablewiz_cut_str")) {
|
||||
function tablewiz_cut_str($str, $strlimit=0) {
|
||||
if($strlimit > 0) {
|
||||
$str = substr($str, 0, $strlimit);
|
||||
// do not use html tag when use cut_str
|
||||
$str = substr(strip_tags($str), 0, $strlimit);
|
||||
}
|
||||
|
||||
return $str;
|
||||
|
|
Loading…
Reference in New Issue
Block a user