fmx:escape

Freemarker equivalent: https://freemarker.apache.org/docs/ref_directive_escape.html

fmx:escape allows to enable an automatic escaping for each interpolation within the range of this statement.

Options

<fmx:escape fmx:name="x" fmx:expr="x?html">
  <p>BOBO: ${model.name}</p>
</fmx:escape>
[#escape x as x?html]
  <p>BOBO: ${model.name}</p>
[/#escape]