Fix to search page now uses XHTML when set, patch provided by taca (bug #0001022)
1.1 --- a/system/classes/search.class.php Thu Nov 05 00:43:55 2009 +0000
1.2 +++ b/system/classes/search.class.php Thu Nov 05 00:53:29 2009 +0000
1.3 @@ -483,8 +483,8 @@
1.4 {
1.5 $obj->setStyle('inline');
1.6 $obj->setField('', LF_ROW_NUMBER, $show_num, false, '<b>%d.</b>');
1.7 - $obj->setField($LANG09[16], 'title', true, true, '%s<br>');
1.8 - $obj->setField('', 'description', true, false, '%s<br>');
1.9 + $obj->setField($LANG09[16], 'title', true, true, '%s<br' . XHTML . '>');
1.10 + $obj->setField('', 'description', true, false, '%s<br' . XHTML . '>');
1.11 $obj->setField('', '_html', true, false, '<span style="color:green;">');
1.12 $obj->setField($LANG09[18], 'uid', $show_user, true, $LANG01[104].' %s ');
1.13 $obj->setField($LANG09[17], 'date', true, true, $LANG01[36].' %s');