MWE:
\documentclass{amsart}
\usepackage{hyperref}
\usepackage{cleveref}
\newtheorem{theorem}{Theorem}
\begin{document}
\begin{theorem}
\label{test}
This is a theorem.
\end{theorem}
Look at \Cref{test}.
\end{document}
Compiling with make4ht
, I get errors
[ERROR] htlatex: ./test.tex 14 Argument of \@fourthoffive has an extra }.
[ERROR] htlatex: ./test.tex 14 Paragraph ended before \@fourthoffive was complete.
[ERROR] htlatex: ./test.tex 14 Argument of \@fifthoffive has an extra }.
[ERROR] htlatex: ./test.tex 14 Paragraph ended before \@fifthoffive was complete.
[ERROR] htlatex: ./test.tex 14 Paragraph ended before \hyper@readexternallink was complete.
[ERROR] htlatex: ./test.tex 14 LaTeX Error: There's no line here to end.
A workaround is to remove \usepackage{hyperref}
which does not seem to affect the html
output. However, I wonder why they are conflict under tex4ht and a better solution for that.