I think part of the reason this is happening, is on the line that outputs the change in the table headers for sorting
- Code: Select all
if ( $roster_conf['sqldebug'] )
{
echo "<!-- $order_field :: $last_value != $row[$order_field] -->\n";
}
There are also other places where this text will print or be set up for printing as well
- Code: Select all
$divider_text = '<div class="membersGroup">'.$ORDER_FIELD['divider_prefix'].$row[$order_field]."</div>\n";
- Code: Select all
if ( $current_col == $cols ) {
echo " <td class=\"$stripe_class_right\">$cell_value</td>\n";
}
else
{
echo " <td class=\"$stripe_class\">$cell_value</td>\n";
}
Also, the note field goes through a bit of processing to clean up the text to prevent this type of thing from happening
- Code: Select all
$prg_find = array('/"/','/&/','|\\>|','|\\<|',"/\\n/");
$prg_rep = array('"','&','>','<','<br />');
$note = preg_replace($prg_find, $prg_rep, $row['note']);
Maybe we should make this parsing the default action for every field