You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Ivan Galkin (Jira)" <ji...@apache.org> on 2021/12/22 12:11:00 UTC

[jira] [Created] (VELOCITY-949) Extra whitespaces in converting from Word to PDF

Ivan Galkin created VELOCITY-949:
------------------------------------

             Summary: 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
             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: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org