Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何去除 MVEL 2.0 模板结果中由@code{}、@if{}、@foreach{}、@end{} 等或标签生成的空白行?
如果您不希望标签前后有空格,则不要在前后使用 CR:
例如:项目:@foreach{item : stuff}@{item}@{','}
如果将其分成多行,则会保留空格。