Commit 0f1fcb7
committed
fix(memory-wiki): strip fenced code blocks before wikilink extraction (fixes #97945)
Fenced code blocks and inline code spans containing [[...]] patterns
(e.g. Scala generics Future[Option[User]], bash [[ "" == "y" ]])
were falsely reported as broken wikilink targets. Strip them from the
searchable text before running the wikilink regex.
This reopens and implements the validated fix from #70986.1 parent 455f813 commit 0f1fcb7
1 file changed
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
119 | 123 | | |
120 | 124 | | |
121 | 125 | | |
| |||
387 | 391 | | |
388 | 392 | | |
389 | 393 | | |
390 | | - | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
391 | 402 | | |
392 | 403 | | |
393 | 404 | | |
| |||
0 commit comments