New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
email templates: Mozaik removes images #9265
Comments
The newest version of voku/anti-xss is 4.1.x which is fixing salesagility#9265 The library requires now at least PHP 7.0.0, so I changed this setting.
@tsmgeek Yes, the update of the AntiXSS has fixed the bug. I've created a pull request. |
Great, thanks for confirming. |
I have the same issue ( v7.11.21) with the TinyMCE editor. Instead of a picture I get this; < src="https:/Specific-url-SuiteCRM-instance.nl/uploads/o_1ff25622h17jueoe1ecmfhj1a8p8.jpg" alt="" /> The results are the same after working with the option; Editor - Direct HTML. < src="https:/Specific-url-SuiteCRM-instance.nl/uploads/o_1ff25622h17jueoe1ecmfhj1a8p8.jpg" alt="" /> Great to see that "Update AntiXSS library" is a solution for this. |
This issue has been mentioned on SuiteCRM. There might be relevant details there: https://community.suitecrm.com/t/version-7-12-2-email-template-builder-images-disapear/84640/2 |
This issue has been mentioned on SuiteCRM. There might be relevant details there: https://community.suitecrm.com/t/email-template-issues/84627/5 |
Issue
I'm editing email attachments with Mozaik editor. I insert an image. I've tried both the image inserting button with upload and the direct HTML-Code with a linked image. The image is inserted and shown until saving.
Expected Behavior
The image should be shown after saving the email template.
Actual Behavior
The image is removed from the HTML. The HTML looks like this:
Possible Fix
Steps to Reproduce
Context
Your Environment
The text was updated successfully, but these errors were encountered: