utils/test
saberzero1 1ad4e4f2f6
fix: support multi-segment partial paths in shortest link resolution
The 'shortest' strategy in transformLink() only matched by filename (last
segment), causing wiki-links like [[Species/Elf/Wood]] to fail resolution
when the target lived under a deeper path (e.g. Compendium/Species/Elf/Wood).

Add suffix-based matching for multi-segment partial paths and handle the
/index variant for folder targets whose suffix gets stripped by
transformInternalLink().
2026-03-22 11:51:41 +01:00
..
path.test.ts fix: support multi-segment partial paths in shortest link resolution 2026-03-22 11:51:41 +01:00