Software /
code /
prosody-modules
File
mod_xhtmlim/README.markdown @ 4916:3dc8e329d233
mod_rest: Move most of XEP-0432 handling into JSON mapping schema
The pre- and post-processing is still needed to encode/decode the JSON
since util.datamapper can't (currently) do this.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 07 Apr 2022 15:39:57 +0200 |
parent | 3699:1f68287138e3 |
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`