Closed quazardous closed 8 years ago
Well, the issue is that the Twig template is not HTML markup. As such, trying to inline styles here is wrong. In your case, it breaks the Twig markup, but it could also break the inlining itself (in case you have classes added dynamically for instance, of {% if %}
blocks around HTML attributes making the Twig markup invalid HTML.
You should perform the inlining on HTML markup, not on a Twig template. This means that the inlining should be done after rendering the template, not before.
Yeah I figure it out... I'll put the inline class call after the rendering stuff....
thx for answering !
I'm using the inline tool to precompile Twig template.
and the result is:
how can I avoid the
%7B%7B%20
stuff in the href attribute ?