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:
{% inlinecss 'path/to/stylesheet.css %}
To unsubscribe, click <a href="*|UNSUB|*">here</a>.
{% endinlinecss %}
will result in the following HTML:
To unsubscribe, click <a href="*%7CUNSUB%7C*">here</a>.
instead of:
To unsubscribe, click <a href="*|UNSUB|*">here</a>.
How can we avoid this behavior?
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:
{% inlinecss 'path/to/stylesheet.css %} To unsubscribe, click <a href="*|UNSUB|*">here</a>. {% endinlinecss %}will result in the following HTML:
instead of:
How can we avoid this behavior?