view mod_xhtmlim/README.markdown @ 4023:7e2db4d61f6c

mod_easy_invite: backport: ensure session exists before accessing it Backport from https://github.com/snikket-im/snikket-server This prevents a 500 issue when using mod_register_web.
author Maxime “pep” Buquet <pep@bouah.net>
date Sun, 17 May 2020 22:38:55 +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`