Functions

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

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

with

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

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

------------------------------
Copyright esense GmbH 2023