VELOCITY-544 fix and test, thanks to Jarkko Viinamaki

git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@687502 13f79535-47bb-0310-9956-ffa450edef68
2 files changed