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 |
With the plugin installer in Prosody 0.12 you can use:
sudo prosodyctl install --server=https://modules.prosody.im/rocks/ mod_xhtmlim
For earlier versions see the documentation for installing 3rd party modules