I have made this nice mail template, that calls:
it returns that last comment, but as a one-line string. How can i format it as HTML, so that linebreaks are effected and even tables from jira content will work.
If I explicitly in the comment enter
, it works using the custom HTML mail template in the script listener, however in JIRA this looks very ugly.