Commit 03c801f
DevBot
fix(www): strip article heading tags to a fixed point; drop hex-like issue ref from comment (#1281)
CodeQL js/incomplete-multi-character-sanitization re-fired on the
single-pass tag strip in prepareArticle (new alert on PR #1291); apply the
documented fixpoint idiom, matching the html-escape.ts sanitizeHeadExtras
structure. The www theme-token gate also read '(#1281)' on a line containing
'outline' as a hex color literal; reworded.1 parent 094c1c2 commit 03c801f
1 file changed
Lines changed: 11 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
30 | 34 | | |
31 | 35 | | |
32 | 36 | | |
| |||
0 commit comments