Mercurial > prosody-modules
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 <zash@zash.se> |
---|---|
date | Tue, 08 Oct 2019 18:35:48 +0200 |
parents | f6ed4421167d |
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`