shlogg · Early preview
Anthony Max @aanthonymax

Improving HMPL Template Language Security With DOMPurify Integration

New HMPL version 2.2.5 boosts security with DOMPurify integration, reducing XSS risks & enabling safe HTML processing. Sanitize server responses or specify disallowed tags to ensure app safety. Download via npm or CDN.

Today, I am pleased to introduce new functionality that will make the template language more secure than it has ever been. Several useful features and new integrations combine to create a great result that reduces the risk of unwanted actions in the application.
The work on the new version 2.2.5 was painstaking, but now it will bear fruit in terms of increasing the quality and reliability of the module!

  
  
  🧼 Integration with DOMPurify

One of the main problems that exists when working with a server is, of course, XSS attacks, when an unwanted script can run on the client and, in the bes...