Describe the bug
\ref command does not respect "text" field for template classes.
/**
* Base
*/
template <class T>
class Base;
/**
* \ref Base "Base<int>"
*/
class Test {
};
Screenshots
Doxygen 1.9.8:

Doxygen 1.10.0 - trunk (38ee114)

To Reproduce
testcase.zip
Expected behavior
\ref command should use the "text" field when template classes are referenced, similar to behavior for non-template classes.