summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/util.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.cpp b/src/util.cpp
index c127362..6e7fa17 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -6488,7 +6488,7 @@ void filterLatexString(FTextStream &t,const char *str,
case '}': t << "\\}"; break;
case '<': t << "$<$"; break;
case '>': t << "$>$"; break;
- case '|': t << "$|$"; break;
+ case '|': t << "$\\vert$"; break;
case '~': t << "$\\sim$"; break;
case '[': if (Config_getBool("PDF_HYPERLINKS") || insideItem)
t << "\\mbox{[}";