September 2017
Intermediate to advanced
408 pages
9h 25m
English
The Jelly script usually trims the whitespaces, which is good for reducing the output size. However, there might be conditions where we want to preserve whitespaces. To do this, simply use the j:whitespace tag with the trim attribute set to false.
For example:
<j2:whitespace trim="false">${gs.getMessage('City Name')}: </j2:whitespace>
Read now
Unlock full access