When creating / customising mail templates the insert tags are displayed in lowercase.
The MailTemplate::replaceTags() function expects the tags to be uppercase.
Clicking the tag link correctly inserts an uppercase tag.
But if the user manually types in the tag they are likely to type the tag in as lowercase as that is what they see in the tag list
Problem encountered in Joomla 4 and 5.
Not checked Joomla 6.
A short-term workaround is for the site admin to use CSS to transform the tag list text into uppercase, like this.
For the long-term be better if com_mail component displayed this as uppercase.
| Labels |
Added:
No Code Attached Yet
|
||
hi,@BrainforgeUK I’d like to work on this issue. Please assign it to me if it’s available.
Feel free to submit a pull request, I have not made any changes for this, and in no rush to do so.
Ensure your pull request refers back to this issue to avoid duplication.
Thank you for the clarification.
I’ll work on this and submit a pull request shortly, making sure it references this issue to avoid duplication.
Confirmed that lowercase tags do not work
css is not a good solution as the user could be using alternative admin templates
why not just make replacetags case insensitive