I have a problem with the presence of an unwanted space when I use amsthm and cleveref.
The following is a MWE that highlights the issue.
\documentclass{article}
\usepackage[english]{babel}
\usepackage{amsthm}
\usepackage[hypertexnames=false]{hyperref}
\usepackage[noabbrev,nameinlink]{cleveref}
\hypersetup{colorlinks=true,linkcolor={red}}
\newtheoremstyle{test}{}{}{\itshape}{}{\bfseries}{.}{.5em}{#1#2 (\thmnote{#3})}
\theoremstyle{test}
\newtheorem{test}{Test T}
\begin{document}
\begin{test}[Test Name]
\label{test}
Test.
\end{test}
\Cref{test}.
\end{document}
As it can be noticed, where I would like to obtain with Cref "Test T1", I actually get "Test T 1".
Any feedback will be most welcome!