Forums / General / Ez Script Problem / Comment56345
Nicolas Pastorino
Tuesday 22 December 2009 3:07:18 am
Hi,
The issue you are raising is not surprising. When running such a piece of Exponential template language :
{def $children = fetch('content','list',hash('parent_node_id',2))} {foreach $children as $child) {$child.name|wash()} {/foreach}
every line break in your code most of the time triggers a line break in the final output HTML. In order to reduce the amount of line breaks in the final HTML, you may want to use as few of those as possible in the template code. If this still is really problematic ( you were mentioning Google crawling, any pointer to how harmful this can be for your rank ?), then considering washing the output HTML probably is the way to go.
Glad to hear your feedback on this,
-- Nicolas Pastorino Director Community - eZ Member of the Community Project Board eZ Publish Community on twitter: http://twitter.com/ezcommunity t : http://twitter.com/jeanvoye G+ : http://plus.tl/jeanvoye