The following tutorial shows how to disable the HTML purifier in PrestaShop 1.6.x templates.
HTML Purifier is a standards-compliant HTML filter library written in PHP. It clears html by removing all the malicious, invalid or forbidden (by configuration) coding, including separate attributes. It also affects your custom html code, that is not desirable sometimes. In such cases you can easily disable it.
In order to do this you should perform the following steps:
Open your PrestaShop admin panel and navigate to the Preferences -> General tab:
Click on the No button near Use HTMLPurifier Library:
Press Save button to save the changes:
You have successfully disabled the HTML purifier in your PrestaShop 1.6.x templates. Feel free to check the detailed video tutorial below: