The SanitizeHtmlAllowedTags component allows you to clean and sanitize HTML input by removing unwanted or potentially harmful elements and attributes. It enables customization of allowed HTML tags, ensuring that only specific tags are preserved in the sanitized HTML content. This is particularly useful for user-generated content or for applications where maintaining safe and clean HTML is important for security and proper rendering.
Features:
Customizable Allowed Tags: Specify which HTML tags are allowed in the input HTML. Tags not listed will be removed during sanitization.
Security & Safety: Removes potentially unsafe HTML tags, attributes, or JavaScript content that could lead to security vulnerabilities (e.g., Cross-Site Scripting or XSS).
Simple Integration: Easy to integrate into your OutSystems applications to sanitize HTML content efficiently.
Output: Returns sanitized HTML content in a clean and safe format for rendering or storage.
BSD-3 license (https://opensource.org/licenses/BSD-3-Clause)