You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the issue I mentioned, this encoding is done when calling DomDocument::saveHTML() so it's not related to twig. I'm not sure there is a way to configure DomDocument to leave href values unencoded.
I think there should be a warning in the docs regarding the use of inlinecss tags.
When using the inlinecss twig tag in a template, every href value is apparently url encoded by tijsverkoyen/css-to-inline-styles.
This was mentioned here and is particularly annoying when using special templating tags provided by MailChimp for example.
Example:
will result in the following HTML:
instead of:
How can we avoid this behavior?
The text was updated successfully, but these errors were encountered: