settings / html sanitization

HTML cleaning and sanitization

Enable or disable HTML sanitization globally. When enabled, user-submitted HTML content will be cleaned to remove potentially dangerous tags and attributes.

Array of CSS properties that are allowed in inline styles. Any other CSS properties will be stripped during sanitization.

Optional: Specify an array of allowed HTML tags. If not set, a default safe list will be used. Example: ["p", "strong", "em", "a", "ul", "ol", "li"]

Optional: Specify an array of domains that are allowed for iframe embeds. Example: ["www.youtube.com", "player.vimeo.com"]