diff options
author | Claude Brisson <cbrisson@apache.org> | 2018-10-15 13:08:41 +0000 |
---|---|---|
committer | Claude Brisson <cbrisson@apache.org> | 2018-10-15 13:08:41 +0000 |
commit | d0b749b76cfd4dd040c6d5e6274990fa858e50b0 (patch) | |
tree | c6dcd15050ec7b8b83f3cb4d5e4ebe28b5cd4ff2 /src | |
parent | a684e7eff5be127e100e9b43ac897ee414ca8937 (diff) | |
download | apache-velocity-engine-d0b749b76cfd4dd040c6d5e6274990fa858e50b0.tar.gz |
[VELOCITY-904] Added velocimacro.preserve.arguments.literals boolean flag (false by default) - if true, when printing null arguments, the macros will use the provided arguments literals
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1843909 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r-- | src/changes/changes.xml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 1bdf45bc..1597ddfb 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -26,7 +26,12 @@ <body> <release version="2.1" date="In subversion"> - <action type="add" dev="cbrisson" issue="VELOCITY-906"> + <action type="add" dev="cbrisson" issue="VELOCITY-904"> + Added the <code>velocimacro.preserve.arguments.literals</code> flag (false by default), for backward compatibility. + When true, for any macro argument that evaluates to null, the macro will display the provided argument literal representation + instead of the literal argument reference. + </action> + <action type="add" dev="cbrisson" issue="VELOCITY-903"> Default block for empty loops: <code>#foreach($i in []) loop block #else empty #end</code> </action> <action type="fix" dev="cbrisson" issue="VELOCITY-888"> |