Replies: 0
When I enable the HTML optimization, it is breaking my Calendly embed. I’ve tried adding the js file to the ignore area, but that didn’t work. I’ve also done some Googling with no luck. Here’s what the original HTML code looks like:
<div class="calendly-inline-widget" data-url="https://calendly.com/account?text_color=666666&primary_color=e2bdab" style="position: relative;min-width:320px;height:830px;" data-processed="true">
<div class="calendly-spinner"><div class="calendly-bounce1"></div><div class="calendly-bounce2"></div><div class="calendly-bounce3"></div></div>
<iframe src="https://calendly.com/account?embed_domain=website.com&embed_type=Inline&text_color=666666&primary_color=e2bdab" width="100%" height="100%" frameborder="0"></iframe>
</div>
<script type="text/javascript" src="https://assets.calendly.com/assets/external/widget.js"></script>
And here’s what I get with HTML optimization turned on:
<div class="calendly-inline-widget" data-url="https://calendly.com/account?text_color=666666&primary_color=e2bdab" style="min-width:320px;height:830px;"></div>
%MINIFYHTMLb8358c623e941b956ab41c10124e2d814%
Any help would be greatly appreciated. Thanks for making a great plugin, the rest of it has worked great on the site!