view mod_xhtmlim/README.markdown @ 3814:0dede5b0ab27

mod_rest: Fix return status when sending and forgetting Turns out module:send() doesn't return anything, so there's no way to know if it was routed successfully.
author Kim Alvefur <zash@zash.se>
date Wed, 01 Jan 2020 16:35:55 +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`