summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/util.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util.cpp b/src/util.cpp
index 0fdbb6f..9510631 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -3826,7 +3826,7 @@ void filterLatexString(QTextStream &t,const char *str,
case '[': if (Config_getBool("PDF_HYPERLINKS"))
t << "\\mbox{[}";
else if (insideItem)
- t << "\[";
+ t << "\\[";
else
t << "[";
break;
@@ -3834,7 +3834,7 @@ void filterLatexString(QTextStream &t,const char *str,
if (Config_getBool("PDF_HYPERLINKS"))
t << "\\mbox{]}";
else if (insideItem)
- t << "\[";
+ t << "\\[";
else
t << "]";
break;