How to make html comments invisible? that is, when debugging or viewing the contents of a page in html format, comments were not displayed?
- oneno way, just completely remove them - Grundy
- Surely modern "collectors" before sending to the client will do it for you. Although here I am not sure that the markup files are also cleaned. - smellyshovel
- Well, or write a script that will delete comments when it is posted and return it back for editing. In Linux, for example, you can clean it with regular files, then make a patch file with diff. About when you need to change the file - patch it with comments - Nikita Vasilchenko
|