summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2014-02-15 11:06:26 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2014-02-15 11:06:26 (GMT)
commitf6032defd09fbbcfe51fe7f11057c241cac09d50 (patch)
tree818d7a1b1053dc14f53c8f08898d88b8575c6844
parent3dca0c9fdf09cc1dcb8630b2a8670510321f8347 (diff)
parent04a8ce9a8e2f022c21a5728ffdfb029258fa54e9 (diff)
downloadDoxygen-f6032defd09fbbcfe51fe7f11057c241cac09d50.zip
Doxygen-f6032defd09fbbcfe51fe7f11057c241cac09d50.tar.gz
Doxygen-f6032defd09fbbcfe51fe7f11057c241cac09d50.tar.bz2
Merge pull request #117 from albert-github/feature/bug_docu_latex
Command \< and \> are not properly shown in section headers (and consequently in index)
-rw-r--r--src/util.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/util.cpp b/src/util.cpp
index cf2d6b9..136ee80 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -6413,14 +6413,9 @@ void filterLatexString(FTextStream &t,const char *str,
break;
case '-': t << "-\\/";
break;
- case '\\': if (*p=='<')
- { t << "$<$"; p++; }
- else if (*p=='>')
- { t << "$>$"; p++; }
- else
- { t << "\\textbackslash{}"; }
+ case '\\': t << "\\textbackslash{}";
break;
- case '"': { t << "\\char`\\\"{}"; }
+ case '"': t << "\\char`\\\"{}";
break;
default: