diff options
Diffstat (limited to 'velocity-engine-core/src/test/resources/templates/stop2.vm')
-rw-r--r-- | velocity-engine-core/src/test/resources/templates/stop2.vm | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/velocity-engine-core/src/test/resources/templates/stop2.vm b/velocity-engine-core/src/test/resources/templates/stop2.vm new file mode 100644 index 00000000..9a530ce2 --- /dev/null +++ b/velocity-engine-core/src/test/resources/templates/stop2.vm @@ -0,0 +1,31 @@ +This page checks the stop directive inside an if statement + +#if(false) + + #stop + +#end + +this should render + +#if(true) + +#stop + +#end + +this should not render + +check reference +#set($a = 10) +$a + +check method call +$a.toString() + +check escaped directive +\#if + +check escaped reference +\$a + |