You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2024/02/03 20:27:00 UTC
[jira] [Closed] (VELOCITY-950) Skipping empty lines
[ https://issues.apache.org/jira/browse/VELOCITY-950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Osipov closed VELOCITY-950.
-----------------------------------
Resolution: Information Provided
As [~chris@christopherschultz.net] noted, this is not a bug and a solution has been provided.
> Skipping empty lines
> --------------------
>
> Key: VELOCITY-950
> URL: https://issues.apache.org/jira/browse/VELOCITY-950
> Project: Velocity
> Issue Type: Wish
> Components: Engine
> Reporter: Ivan Galkin
> Priority: Major
>
> I need to convert text from Word to PDF using "if" (or others) construction of Velocity. I need to get rid of empty lines.
> Example:
> In Word it looks like:
> «#if(xxx == "true)»1«#end»
> «#if(yyy == "true)»1«#end»
> «#if(zzz == "true)»1«#end»
> If yyy == false, xxx and zzz are true in PDF we will get:
> 1
>
> 1
> But I need get it without an empty line somehow:
> 1
> 1
> Is it possible to do it with such functionality?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org