I have a method called render_something which can creates a lot of whitespace, for example:
<a href="#">#render_something('xxx')</a>
The result can be:
<a href="#">
something that generate from redner_something
</a>
Which actually I want it to be like this:
<a href="#">something that generate from redner_something</a>
Does velocity has something like this?
#trim(#render_something('xxx'))
See Question&Answers more detail:os