[jira] [Closed] (VELOCITY-950) Skipping empty lines

"Michael Osipov (Jira)" <[email protected]>
Newsgroups gmane.comp.jakarta.velocity.devel
Message-ID <[email protected]>
     [ 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 [[email protected]] 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)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.