Comment 0 for bug 1833627

Revision history for this message
Daniel Wang (danielwang88) wrote : regression, Unescaped percent pound, dollar sign in doxygen output

Description of problem:
there's a problem to build documentation for the apron package in fedora 24. With doxygen 1.8.10, documentation for a certain operator% looks like this:

\subsubsection[{operator%(const texpr1+::builder &a, const texpr1+::builder &b)}]{\setlength{\rightskip}{0pt plus 5cm}texpr1+::builder operator% (
\begin{DoxyParamCaption}
\item[{const texpr1+::builder &}]{a, }
\item[{const texpr1+::builder &}]{b}
\end{DoxyParamCaption}

That works fine. However, with 1.8.11, this is produced:

\subsubsection[{\texorpdfstring{operator%(const texpr1+::builder &a, const texpr1+::builder &b)}{operator%(const texpr1::builder &a, const texpr1::builder &b)}}]{\setlength{\rightskip}{0pt plus 5cm}texpr1+::builder operator% (
\begin{DoxyParamCaption}
\item[{const texpr1+::builder &}]{a, }
\item[{const texpr1+::builder &}]{b}
\end{DoxyParamCaption}

The unescaped percent sign in the second argument to \texorpdfstring turns the rest of the line into a comment, leading to a LaTeX error.

https://github.com/doxygen/doxygen/issues/5962