New problem with the cleaning of % to \%

Today I noted that in a recently added file the cleaning resulted in \% which gave an error in pdflatex. I wonder whether this has been dealt with already, otherwise I would try to make a bugreport.

The repeated cleaning should recognize and discrimate % and %. Otherwise a double backslash will generate a newline in latex and no longer excape the % sign.

I’m not aware that we already discussed these problems. Could you please open a new bug report at github. Thanks.

Follow-up at