Greetings,

I want to highlight some items in a view based on a content flag. My idea is to use a custom field at the beginning of the field list to open a div and another at the end to close:

<?php if ('Y' == $data->node_data_field_att_field_att_value)
echo '<div class="attention-alert"> sample text ';
?>

what I get is

<div class="attention-alert"> sample text      </div>  

the trailing is NOT wanted and NOT specified.
I close the div myself with another custom field at the end of the field list.

Why is the /div there? More importantly, how can I get rid of it?

help!