Skip to content

Commit 61be6c3

Browse files
committed
Fix latex quotes in <pre>
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.
1 parent 2aeb288 commit 61be6c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/latexgen.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2364,7 +2364,7 @@ void filterLatexString(TextStream &t,const QCString &str,
23642364
break;
23652365
case '\\': t << "\\textbackslash{}";
23662366
break;
2367-
case '"': t << "\\\"{}";
2367+
case '"': t << "\"{}";
23682368
break;
23692369
case '`': t << "\\`{}";
23702370
break;

0 commit comments

Comments
 (0)