Velocity just print the tag name if no value was found in VelocityContext, ie, $name in my template file, but there is no value for \"name\" in VelocityContext, so just \"$n
There are a couple things you can do short of hacking Velocity internals. Have a look at this question.