<span class="resolved" aria-label="Resolved" title="Topic is resolved."></span>DomPurify breaks js minification

[ad_1]

Replies: 2

The WP plugin easy-fancybox was recently updated to ver. 2.3.4 and suddenly breaks the Autoptimize js minifcation. I have enabled the option to use try / catch block, but still breaks with a bracket mismatch. The identified source, I had to exclude from js minifcation, was DOM purify js lib (tested with both version: bundled ver. 3.1.5 in easy fancybox and latest 3.1.7). https://github.com/cure53/DOMPurify/releases/tag/3.1.7

For the reference: link to my original support question from easy fancybox forum: https://projectdmc.org/support/topic/ver-2-3-4-breaks-js-minification-using-plugin-autoptimize

Many thanks in advance for having a look into this.

Matthieu

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer