The quotation command \say from the dirtytalk package doesn't seem to work in figure captions. Does anyone know why this is the case and how to fix it?
\documentclass{article}
\usepackage{dirtytalk}
\begin{document}
Say is working \say{fine} here.
\begin{figure}
\caption{But it \say{doesn't} work here.}
\end{figure}
\end{document}
Manually inserting the correct quotation marks “ and ” works fine though. But shouldn't \say produce the same result?

\saybeing verbatim-like in particular. Duplicate? – user202729 Dec 29 '21 at 15:45