Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The linksappfn function is added to the freemarker context attributes.

...

When using the Links Rich Text Field, the text to render has to be decoded with the linksappfn function and cannot use cmsfn. With the standard magnolia function the links will not transformed correct.

Replace

Code Block
[#assign textDecoded = cmsfn.decode(content).linksRichText!]
${textDecoded}

with

Code Block
[#assign textDecoded = linksappfn.decode(content).linksRichText!]
${textDecoded}

to get the links added to the rich text editor displayed correct.