view mod_xhtmlim/README.markdown @ 4912:b45c23ce24ba

mod_register_web: Include HTML templates in rock (thanks unbunt) Makes the module usable with the new plugin installer in Prosody 0.12
author Kim Alvefur <zash@zash.se>
date Wed, 30 Mar 2022 17:52:41 +0200
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`