view mod_xhtmlim/README.markdown @ 4855:0c9128145bcf

mod_conversejs: Reduce mod_bookmarks dependency to a warning The luarocks dependency removed because the plugin installer is only available in trunk, which now has mod_bookmarks available
author Kim Alvefur <zash@zash.se>
date Fri, 07 Jan 2022 23:33:12 +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`