[
https://issues.apache.org/jira/browse/VELOCITY-949?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17463780#comment-17463780
]
Michael Osipov commented on VELOCITY-949:
-----------------------------------------
Your request is confusing me?! PDF is a binary format. Velocity produces text
formats. Please explain.
> Extra whitespaces in converting from Word to PDF
> ------------------------------------------------
>
> Key: VELOCITY-949
> URL: https://issues.apache.org/jira/browse/VELOCITY-949
> Project: Velocity
> Issue Type: Bug
> Components: Engine
> Affects Versions: 1.7.x
> Reporter: Ivan Galkin
> Priority: Major
> Fix For: 1.7.x
>
>
> I need to convert text from Word to PDF using "if" construction of Velocity.
> When I use it, i have an extra space before the value of if construction. How
> can I get rid of it?
> Example:
> In Word it looks like: «#if(xxx == "true)»1«#else»0«#end»
> But in PDF we will get:
> 1
> Instead of:
> 1
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]