Mercurial > prosody-modules
view mod_xhtmlim/README.markdown @ 5734:cef8bce2d71b
luacheck: Add new module API methods from trunk
See
* trunk rev 4d4f9e42bcf8
* trunk rev 65fb0d7a2312
* trunk rev c9ef35fab0b1
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 27 Nov 2023 07:10:06 +0100 |
parents | 1f68287138e3 |
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`