view mod_xhtmlim/README.md @ 6462:021eff79a1f5

mod_watchuntrusted/mod_watchuntrusted.lua: making luacheck happy
author Menel <menel@snikket.de>
date Fri, 13 Mar 2026 12:43:05 +0100
parents fe081789f7b5
children
line wrap: on
line source

Introduction
============

This module attempts to sanitize XHTML-IM messages.

It does **not** attempt to sanitize any CSS embedded in `style`
attributes, these are instead stripped by default.

Configuration
=============

  Option                   Type      Default
  ------------------------ --------- ---------
  `strip_xhtml_style`      boolean   `true`
  `bounce_invalid_xhtml`   boolean   `false`