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
I tried to escape compression but I am getting error 'endhtmlcompress' is not found when inside template I put it twice.
start file here
{% htmlcompress %}
(include) HTML to be compressed
{% endhtmlcompress %}
(include) HTML NOT TO BE COMPRESSED
{% htmlcompress %}
(include) REST OF HTML TO BE COMPRESSED
{% endhtmlcompress %}
Any Idea how to work it out ?
The text was updated successfully, but these errors were encountered:
This package is only a Twig extension, the actual compression is done by WyriHaximus/HtmlCompress and the packages it uses.
I tried to escape compression but I am getting error 'endhtmlcompress' is not found when inside template I put it twice.
I can't reproduce it. Consecutive {% htmlcompress %} tags work fine. Are you nesting the htmlcompress tags in the includes maybe? I haven't tested that.
I have a javascript added to the template and function is doing wrong minification:
$('#auto').append('<tr id="auto_'+data.auto_id+'}}"><td>'+data.auto_movie+'</td><td><div class="form-check checkbox-slider--a checkbox-slider-md"><label>....
basically it sees it as HTML.
I tried to escape compression but I am getting error 'endhtmlcompress' is not found when inside template I put it twice.
start file here
Any Idea how to work it out ?
The text was updated successfully, but these errors were encountered: