You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Rob van Dalen (Jira)" <ji...@apache.org> on 2019/08/30 14:30:00 UTC
[jira] [Created] (VELOCITY-919) Velocity is removing the Zero-Width
space from the text
Rob van Dalen created VELOCITY-919:
--------------------------------------
Summary: Velocity is removing the Zero-Width space from the text
Key: VELOCITY-919
URL: https://issues.apache.org/jira/browse/VELOCITY-919
Project: Velocity
Issue Type: Bug
Components: Engine
Affects Versions: 2.1
Reporter: Rob van Dalen
*Input text:*
{code:html}
zie art. 1 WW
{code}
*Template:*
{code:bash}
<html>
<body>
${replacement}
</body>
</html>
{code}
Just before the text *art. 1* there is a Zero-Width space.
When i put the above text in the velocity engine, the engine is changing my text. It's removing the Zero-Width Space.
My result is then without the Zero-Width Space:
{code:html}
<html>
<body>
zie art. 1 WW
</body>
</html>
{code}
Velocity should only do some markup and not change the original input text.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org