Mercurial > prosody-modules
annotate mod_firewall/scripts/spam-strip-xhtml.pfw @ 5135:35085e0d52ad
mod_pubsub_summary: Trim preceding and trailing whitespace from title
To improve formatting of titles encoded like
<title>
Lorem Ipsum
</title>
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 10 Jan 2023 16:05:01 +0100 |
parents | f20dd383093a |
children |
rev | line source |
---|---|
2572
f20dd383093a
mod_firewall: Add spam-strip-xhtml.pfw
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
1 # Strip XHTML-IM from messages received from strangers |
f20dd383093a
mod_firewall: Add spam-strip-xhtml.pfw
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
2 |
f20dd383093a
mod_firewall: Add spam-strip-xhtml.pfw
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
3 ::user/spam_check_message_custom |
f20dd383093a
mod_firewall: Add spam-strip-xhtml.pfw
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
4 |
f20dd383093a
mod_firewall: Add spam-strip-xhtml.pfw
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
5 STRIP=html http://jabber.org/protocol/xhtml-im |