I am rendering my node fields using:
<?php print render($content['field_website_link']); ?>
On the front end this is printing as:
<a class="upper" href=" http://www.domain.co.uk "
title="Link to our Website" target="_blank">Visit Website →</a>
For some reason it is adding the same whitespace around the rendered field. The field format is plain text and their is no whitespace in the actual field. This is the same for all text fields.
Any ideas?
Thanks Robert
<pre><?php print_r($content);?></pre>
?