mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-09-03 20:52:55 -05:00
If label contains underscore, the underscores are replaced with hyphens on normalization. :numref: confuses the normalization with explicit notation. This fix uses `target` variable insted of labelid to check the role is explicit or not.