Forums / Setup & design / removing line breaks within code - helps javascript / Comment15868
Paul Forsyth
Monday 21 June 2004 10:39:24 am
Try the trim operator out:
http://ez.no/ez_publish/documentation/development/libraries/ez_template/operators/string_handling#trim
Eg
['','{$node.object.data_map.intro.content.output.output_text|striptags|trim}','_blank'], }
It may work :) But i've not tried like this.
Otherwise... It looks like you are using an xml text field for this. Can you get away with a regular text field, or even better a text line?
The process of going from html to xml and back again likely introduced the spaces.
paul
--http://www.visionwt.com