I am having some trouble with my footnotes becoming coloured in certain situations. In particular, I am wanting to use memoir's \paragraphfootnotes, but all the footnotes for a page become coloured if coloured text crosses a page boundary. I am using pdfLaTeX.
\documentclass{memoir}
\usepackage{xcolor}
\paragraphfootnotes
\begin{document}
This\footnote{a footnote} is\footnote{another footnote} \textcolor{red}{some red
\newpage text} with a page break.
\end{document}
If I don't use \paragraphfootnotes (i.e. if I just use \plainfootnotes) then everything works properly, but that is not an option when I sometimes have 50+ very short footnotes on a single page. Is there some colour-resetting code missing from memoir's implementation of \paragraphfootnotes? How can I fix this?
Note: This problem also appears if I use \twocolumnfootnotes.