SIGN IN SIGN UP

fix(html):preserve fragment-only anchor links during path resolution (#3262)

fix(html): preserve fragment-only anchor links during path resolution

Fragment-only hrefs (e.g. href="#section1") were resolved as filesystem
paths when source_uri was set, breaking internal document navigation.

Add '#' to the skip-resolution prefixes in _resolve_relative_path() so
fragment links pass through unchanged.

Partially addresses #2929

Signed-off-by: aatrey56 <aatrey.sahay@gmail.com>
A
Aatrey Sahay committed
f2c03edb30b57cd6cd16a8602047715abca8531f
Parent: ed32c5e
Committed by GitHub <noreply@github.com> on 4/28/2026, 8:28:23 AM