Breaks when using a plugin that strips HTML comments from served pages
-
I use “WP Hide & Security Enhancer” plugin to – in addition to many other optimizations – strip HTML comments from served pages. This breaks PHPEnkoder because in an ancient tradition, the hivelogic JavaScript snippet seems to be enclosed in HTML comment tags enclosed in JavaScript comment blocks, hence essential JS gets snipped away along with any functionality.
Tried to change plugin loading order too see if it would magically have some effect, but eventually had to sort to removing these
/* <!– */
/* –> */
from function enk_build_js and disabling auto updates of PHPEnkoder.
- The topic ‘Breaks when using a plugin that strips HTML comments from served pages’ is closed to new replies.