12-15-2018, 10:12 AM
It seems I need to use single quotes.
This gives the expected result if I put in an empty space after the function. Probably this needs to be done for parsing the function correctly.
So this:
results in:
But the Wysiwyg editor strips the space before the closing strong-tag. So after saving it once the source code of the email is:
Which results in:
and the rest of the email is printed bold because there is no closing tag.
How can I make the functions persistent in the wysiwyg editor? Or is there a way to completely disable it? It is quite useless if it behaves like this.
Code:
$(general : (__WorkflowFunction__) concat ( format_date($date_start,'d. F Y') ,' um ', substring($time_start,0,5),' Uhr.') )
This gives the expected result if I put in an empty space after the function. Probably this needs to be done for parsing the function correctly.
So this:
Code:
<p>Event on <strong>$(general : (__WorkflowFunction__) concat ( format_date($date_start,'d. F Y') ,' um ', substring($time_start,0,5),' Uhr.') ) </strong></p>
results in:
Quote:Event on 19. Januar 2019 um 08:16 Uhr
But the Wysiwyg editor strips the space before the closing strong-tag. So after saving it once the source code of the email is:
Code:
<p>Event on <strong>$(general : (__WorkflowFunction__) concat ( format_date($date_start,'d. F Y') ,' um ', substring($time_start,0,5),' Uhr.') )</strong></p>
Which results in:
Quote:Event on 19. Januar 2019 um 08:16 Uhr/strong>
and the rest of the email is printed bold because there is no closing tag.
How can I make the functions persistent in the wysiwyg editor? Or is there a way to completely disable it? It is quite useless if it behaves like this.