mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06: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.