view mod_xhtmlim/README.markdown @ 3699:1f68287138e3

mod_xhtmlim: Default to stripping @style attribute by default Proper sanitation would require a CSS parser, easier and probably best for everyone to just strip by default.
author Kim Alvefur <>
date Tue, 08 Oct 2019 18:35:48 +0200
parents f6ed4421167d
line wrap: on
line source


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.


  Option                   Type      Default
  ------------------------ --------- ---------
  `strip_xhtml_style`      boolean   `true`
  `bounce_invalid_xhtml`   boolean   `false`