desgnl Posted March 18, 2016 Share Posted March 18, 2016 Quand on coche l'option "Réduction du code HTML", Prestashop supprime les commentaires. Comment faire pour conserver certains commentaires qui sont utiles. par exemple: - les commentaires conditionnels pour IE: <!--[if IE 9]> <script src="/js/html5shiv.min.js"></script> <![endif]--> - ou bien les commentaires googleon / googleoff (https://www.google.com/support/enterprise/static/gsa/docs/admin/70/gsa_doc_set/admin_crawl/preparing.html) Comment minifier le code html et conserver certains (ou tous les) commentaires ? merci Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now