Changeset 8670
- Timestamp:
- 07/13/10 12:28:27 (2 months ago)
- Files:
-
- 1 modified
-
branches/1.8/library/function/html.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.8/library/function/html.php
r8650 r8670 124 124 125 125 function str_tag_truncate($str) { 126 return strip_tags(preg_replace('/\[##(. [^\]]+)##\]/', '', $str));126 return strip_tags(preg_replace('/\[##(.+?)##\]/', '', $str)); 127 127 } 128 128
