Repository navigation
Commit 280fadd
committed
fix(shared): links to bracketed filenames keep their folder labels
The markdown link scanner ended a label at the first `]`, including the
composer's escaped `\]`, so links like [\[id\].tsx](pages/posts/%5Bid%5D.tsx)
were never extracted and same-named files lost their parent-folder labels.
AI-assisted; verified with the tests and tools listed above.1 parent 7e153d8 commit 280fadd
1 file changed
Lines changed: 13 additions & 1 deletion
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
407 | 407 | | |
408 | 408 | | |
409 | 409 | | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
410 | 422 | | |
411 | 423 | | |
412 | 424 | | |
413 | 425 | | |
414 | 426 | | |
415 | 427 | | |
416 | 428 | | |
417 | | - | |
| 429 | + | |
418 | 430 | | |
419 | 431 | | |
420 | 432 | | |
| |||
0 commit comments