Revision 1302
Added by Dietmar over 14 years ago
search_modext.php | ||
---|---|---|
298 | 298 |
// clean the text: |
299 | 299 |
$mod_text = preg_replace('#<(!--.*--|style.*</style|script.*</script)>#iU', ' ', $mod_text); |
300 | 300 |
$mod_text = preg_replace('#<(br( /)?|dt|/dd|/?(h[1-6]|tr|table|p|li|ul|pre|code|div|hr))[^>]*>#i', '.', $mod_text); |
301 |
$mod_text = preg_replace('/(\v\s?|\s\s)+/', ' ', $mod_text); |
|
301 |
// $mod_text = preg_replace('/(\v\s?|\s\s)+/', ' ', $mod_text);
|
|
302 | 302 |
$mod_text = preg_replace('/\s\./', '.', $mod_text); |
303 | 303 |
if($mod_ext_charset!='') { // data from external database may have a different charset |
304 | 304 |
require_once(WB_PATH.'/framework/functions-utf8.php'); |
Also available in: Unified diff
fixed search_modext.php ( Tks to Thorn )
Ticket #953 is already fixed
Ticket #954 styles issues in theme.css ( Tks to Ruebenwurzel )