Strategery-Inc / Magento2-InfiniteScroll

Automatically load the next page of products in Magento. Easy to install and configure, this module works 100% out of the box with vanilla Magento 2.x. For IAS license info: https://github.com/Strategery-Inc/Magento2-InfiniteScroll/issues/27#issuecomment-396148819
Academic Free License v3.0
57 stars 43 forks source link

Fix to work with M2 HTML minifier #25

Closed cjnewbs closed 6 years ago

cjnewbs commented 6 years ago

The embedded base64 encoded image breaks when the template HTML minifier is enabled and is in production mode.

This fix escapes the /// which is interpreted by the minifier as a comment.

gsomoza commented 6 years ago

Thanks for contributing this fix! Initially this looks good to me. Assigning to @damian-pastorini for review and merging.