Closed alexphiev closed 1 month ago
Thank you!! This is your first issue on this repo
I'm also experiencing this issue. Any resolution?
Could you explain what do you mean by having to send variables in uppercase by giving us an example on how it works and on how it not works?
Yes I have the same issue. I investigated. It's due to htmltotext method. It uses the lib html to text and for H1 or H2 it puts by default uppercase. You need to remove this otherwise when we call a variable lowercase in a title it can't find it because the text version transforms in uppercase.
See below the description from htmltotext:
uppercase | true | heading | By default, headings (<h1>, <h2>, etc) are uppercased.Set this to false to leave headings as they are.
Please fix it because I have the same issue. Thanks,
Since #128 was merged, could you try to clone the main
branch of this repository into your plugins folder and configure the plugin to resolve to this folder instead of using the one you've installed already? Don't forget to run yarn / npm install
inside the cloned folder.
Does this solve the issue?
Bug report
Describe the bug
I need to send my email template variables from the code with upper case even though the template mentions
{{= variableName }}
in this format.Steps to reproduce the behavior
{{= senderName }}
variable in any text or in the subjectsenderName
with the method:strapi.plugins["email-designer"].services.email.sendTemplatedEmail()
Additional context
It seems to be happening only in PROD environment but not 100% sure.