Changeset 1302122
- Timestamp:
- 12/07/2015 12:44:59 PM (10 years ago)
- File:
-
- 1 edited
-
trendmd/trunk/trendmd.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trendmd/trunk/trendmd.php
r1302105 r1302122 125 125 static function prepare_string($string) 126 126 { 127 return json_encode(html_entity_decode(strip_tags($string), ENT_NOQUOTES, 'UTF-8'), JSON_HEX_APOS); 127 $string = json_encode(html_entity_decode(strip_tags($string), ENT_NOQUOTES, 'UTF-8'), JSON_HEX_APOS); 128 return trim($string,'"'); 128 129 } 129 130
Note: See TracChangeset
for help on using the changeset viewer.