Repository navigation
Commit cdbe43c
fix: add explicit DOMPurify allowlist for ANSI log rendering
Restrict allowed tags to span and br, attributes to style only.
Tighter than DOMPurify defaults — guards against future version
changes while preserving ANSI color spans.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 47f1e42 commit cdbe43c
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
359 | 359 | | |
360 | 360 | | |
361 | 361 | | |
362 | | - | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
363 | 367 | | |
364 | 368 | | |
365 | 369 | | |
| |||
0 commit comments