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 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…