File

mod_xhtmlim/README.md @ 6186:1cf563a94620

mod_push2: this expression was throwing away the second value And wasn't a needed guard anyway, util.jid.split(nil) is nil
author Stephen Paul Weber <singpolyma@singpolyma.net>
date Tue, 04 Feb 2025 10:30:33 -0500
parent 6003:fe081789f7b5
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`