Commit 2f87090
fix: broaden TOC removal to catch plain "Contents" text in any element
61 problems have TOC blocks. Now removes any leaf element whose only
text is "Contents" regardless of tag type, not just headings.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent a86ebe6 commit 2f87090
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
| 75 | + | |
75 | 76 | | |
76 | 77 | | |
77 | | - | |
| 78 | + | |
| 79 | + | |
78 | 80 | | |
79 | 81 | | |
80 | 82 | | |
| |||
0 commit comments