fix: escape html notification variables
Encode template variables in HTML bodies while preserving text and subjects. Ref: IT-1115
This commit is contained in:
@@ -112,3 +112,7 @@ flowchart TD
|
||||
M -->|retries exhausted| N[Publish terminal failure result]
|
||||
N --> O[Nack original delivery without requeue]
|
||||
```
|
||||
|
||||
Template variables are treated as plain text. The worker HTML-encodes every variable while
|
||||
rendering `HtmlBody`; subject and plain-text body interpolation preserve the original value.
|
||||
Templates must express markup in `body.html` instead of supplying HTML through variables.
|
||||
|
||||
Reference in New Issue
Block a user