File

mod_xhtmlim/README.markdown @ 5102:9eed88ac8ee8

mod_s2soutinjection: Use module logging API _G.log exists but modules should normally use module:log(), or session.log where applicable.
author Kim Alvefur <zash@zash.se>
date Fri, 02 Dec 2022 22:05:13 +0100
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`