Install
Works with Drupal: ^11.4Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
115.24 KB
MD5: a7893b13dac86f680c5c804c13a867a6
SHA-1: 54d019e77341043a0eeeb6840b3c52c356f60f6a
SHA-256: f0f99672ac505b7656b4c075bfdde599f747faca04e3f565cac411aaaaac5bdf
Download zip
189.16 KB
MD5: b6170828eb4821bb20ada3c5da8087b7
SHA-1: 48af16572999e3b837fe90a22a08738889058de4
SHA-256: 043874cd6c59c3dfee75859dffb0233c3cb75d3350c59159fa4f1f67a42bdd12
Release notes
Send messages as plain text, not escaped HTML
t() and token replacement return HTML: what an @ placeholder or a token
carries is escaped for a page. Every channel takes plain text and
escapes for its own format, so an apostrophe reached Slack and Telegram
as ', and the log showed the escape too.
The renderer turns each message into plain text with
PlainTextOutput::renderFromHtml(); a template is read as HTML, with
Klaxon's own values escaped to match. The mail hook escapes the plain
body, because the mail system reads it as HTML to make text of it.