Commit 49d4ae8
fix: apply HTML sanitization to email sending path as well
Sanitize newsletter HTML immediately after markdown rendering in
send_newsletter, before link shortening and tracking rewrite. This
ensures dangerous elements are stripped from both the public archive
view and outgoing emails.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 895ab78 commit 49d4ae8
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
207 | | - | |
| 207 | + | |
208 | 208 | | |
| 209 | + | |
209 | 210 | | |
210 | 211 | | |
211 | 212 | | |
| |||
0 commit comments