0

When reading the VTL reference for Velocity 1.7 at the bottom of the doc there was a reference to Unparsed content.

Unparsed content is rendered at runtime, but is not parsed or interpreted.

Example:

#[[

This has invalid syntax that would normally need "poor man's escaping" like:

#define() ${blah

]]#

I'm simply wondering if this is supported in nVelocity but not documented.

Gabriel B
  • 3
  • 2

2 Answers2

1

It's not implemented. Which means that you get to do it :-)

Create an issue, then fork the repository and implement it, then send the team a pull request.

Mauricio Scheffer
  • 98,863
  • 23
  • 192
  • 275
0

It is supported. But I guess not the multi-line statement.

For example, this below is supported:

#[[ #define() ${blah ]]#

This is not:

#[[ 
    #define() ${blah 
]]#
takrl
  • 6,356
  • 3
  • 60
  • 69
Kiran
  • 1
  • 2
  • Is it really implemented? I couldn't find any tests about it... can you point me to one? Or if it is supported and not tested, could you fork the repo and add a test? – Mauricio Scheffer Jun 22 '11 at 16:47