Hi everyone! Our installation has problems with displaying undesired HTML tags in the emails that we send through OCS.
For example, when users go to conferences/test/Test-Conference-Scheduled/director/notifyUsers they get the following HTML code automatically inserted in the Body of the email:
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<p>Signature</p>
</body>
</html>
After hours of trial and error, I finally noticed that when I remove {$body|escape} from /conferences/conferences/templates/director/notifyUsers.tpl the html code isn’t inserted automatically in the text box anymore.
So, I think this first part of the issue can be called “solved” even if I’m not sure about the implications of removing {$body|escape} from the code…
But unfortunately, with every single email that is sent from /director/notifyUsers, the same HTML code is added automatically also to the text for the signature of the conference itself (as specified on Step 1. Details → 1.5 Email Identification).
Therefore, another set of HTML tags is added every time an email is sent to the users. For instance:
Text of the email.
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<p>This is the Signature of the <strong>conference</strong>.</p>
</body>
</html>
Similarly to the temporary workaround that I found for the first part of the issue, this time I tried with removing {$emailSignature[$formLocale]|escape} from the following line in conferences/templates/manager/schedConfSetup/step1.tpl:
<textarea name="emailSignature[{$formLocale|escape}]" id="emailSignature" rows="3" cols="60" class="textArea">{$emailSignature[$formLocale]|escape}</textarea>
However, without any success. The HTML code is still being displayed/included in every email we send.
Initially, I thought that this could be related to TinyMCE’s settings, but after turning off the plugin, it looks like something else is causing this as the problem is still present.
I would appreciate your advice and thoughts.
Thank you.
DD