Fix to search page now uses XHTML when set, patch provided by taca (bug #0001022) HEAD
authorSami Barakat <sami@sbarakat.co.uk>
Thu Nov 05 00:53:29 2009 +0000 (3 months ago)
branchHEAD
changeset 743957bcdd15e6d4
parent 7438af60253641ad
child 7440d2f5a93daea6
Fix to search page now uses XHTML when set, patch provided by taca (bug #0001022)
system/classes/search.class.php
     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');