Plugin Directory

Changeset 457789


Ignore:
Timestamp:
10/31/2011 01:58:18 PM (14 years ago)
Author:
cooiky
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • qqpress/trunk/qqpress.php

    r457635 r457789  
    435435//汉字截断
    436436function getstr($string, $length, $encoding  = 'utf-8') {
    437     $string = trim($string);
     437    $string = strip_tags(trim($string));
    438438   
    439439    if ($length && strlen($string) > $length) {
Note: See TracChangeset for help on using the changeset viewer.