diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2019-12-26 14:31:57 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-26 14:31:57 (GMT) |
commit | a5c98ade388f4f18ec30476ca706760a8129c73f (patch) | |
tree | 05d736073f0be495a6c11056a8c0a3e2ed8c37e8 | |
parent | 3e4685b89b4fb487c58a705a9775f17c15e93d7d (diff) | |
parent | 6c4cd16b98e6d3abb6923b7bba0d87445cc891bf (diff) | |
download | Doxygen-a5c98ade388f4f18ec30476ca706760a8129c73f.zip Doxygen-a5c98ade388f4f18ec30476ca706760a8129c73f.tar.gz Doxygen-a5c98ade388f4f18ec30476ca706760a8129c73f.tar.bz2 |
Merge pull request #7223 from albert-github/feature/bug_formula_quote
Error in LaTeX with single quote in formula / math mode.
-rw-r--r-- | src/latexdocvisitor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/latexdocvisitor.cpp b/src/latexdocvisitor.cpp index 8a898d2..730f083 100644 --- a/src/latexdocvisitor.cpp +++ b/src/latexdocvisitor.cpp @@ -625,7 +625,7 @@ void LatexDocVisitor::visit(DocFormula *f) { switch (c) { - case '\'': m_t << "\\text{'}"; break; + case '\'': m_t << "\\textnormal{\\textquotesingle}"; break; default: m_t << c; break; } } |