Skip to content

Commit

Permalink
Fix latex quotes in <pre>
Browse files Browse the repository at this point in the history
Commit 2073b3b removed \char but left its backslash. \char is not
necessary if fontenc is used. If fontenc is not used the curly
braces prevent interpretation as an umlaut.
  • Loading branch information
mtc-mlx committed Jul 18, 2023
1 parent 2aeb288 commit 61be6c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/latexgen.cpp
Expand Up @@ -2364,7 +2364,7 @@ void filterLatexString(TextStream &t,const QCString &str,
break;
case '\\': t << "\\textbackslash{}";
break;
case '"': t << "\\\"{}";
case '"': t << "\"{}";
break;
case '`': t << "\\`{}";
break;
Expand Down

0 comments on commit 61be6c3

Please sign in to comment.