Commit ea0aa4d
Fix search results not appearing (broken regex in template literal)
The highlight regex used \] and \/ inside a template literal which
dropped the backslashes in output, causing a JS SyntaxError that
silently killed the entire search script. Replaced with a simple
alphanumeric strip which avoids the escaping issue entirely.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 91ac06e commit ea0aa4d
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
| 143 | + | |
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
802 | 802 | | |
803 | 803 | | |
804 | 804 | | |
805 | | - | |
| 805 | + | |
806 | 806 | | |
807 | 807 | | |
808 | 808 | | |
| |||
0 commit comments