summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2014-11-29 15:49:26 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2014-11-29 15:49:26 (GMT)
commitdb6cabd07bb4c4b854542570cef96dac48484e0a (patch)
tree9f9dcab5f2da2fd1d8c38bb18d79693e8edabfc9
parent5bebcfb4a077287c561d2be7b3510d13d4e44a55 (diff)
parent13cc67ddd6cd35d6d59c199014f11190829bcb70 (diff)
downloadDoxygen-db6cabd07bb4c4b854542570cef96dac48484e0a.zip
Doxygen-db6cabd07bb4c4b854542570cef96dac48484e0a.tar.gz
Doxygen-db6cabd07bb4c4b854542570cef96dac48484e0a.tar.bz2
Merge branch 'master' of github.com:doxygen/doxygen
-rw-r--r--src/htmlentity.cpp2
-rw-r--r--src/latexgen.cpp2
-rw-r--r--src/util.cpp2
3 files changed, 4 insertions, 2 deletions
diff --git a/src/htmlentity.cpp b/src/htmlentity.cpp
index a4d5914..9327526 100644
--- a/src/htmlentity.cpp
+++ b/src/htmlentity.cpp
@@ -298,7 +298,7 @@ static struct htmlEntityInfo
// doxygen extension to the HTML4 table of HTML entities
{ SYM(tm), "\xe2\x84\xa2", "&trade;", "<trademark/>", "&#8482;", "\\texttrademark{}", "(TM)", "\\'99", { "trademark", DocSymbol::Perl_symbol }},
- { SYM(apos), "'", "'", "'", "&apos;", "'", "'", "'", { "\\\'", DocSymbol::Perl_string }},
+ { SYM(apos), "'", "'", "'", "&apos;", "\\textquotesingle{}", "'", "'", { "\\\'", DocSymbol::Perl_string }},
// doxygen commands represented as HTML entities
{ SYM(BSlash), "\\", "\\", "\\", "\\", "\\textbackslash{}", "\\\\", "\\\\", { "\\\\", DocSymbol::Perl_string }},
diff --git a/src/latexgen.cpp b/src/latexgen.cpp
index 874b485..e2c2a11 100644
--- a/src/latexgen.cpp
+++ b/src/latexgen.cpp
@@ -1065,7 +1065,7 @@ void LatexGenerator::endIndexItem(const char *ref,const char *fn)
{
if (!ref && fn)
{
- t << "}{\\pageref{" << fn << "}}{}" << endl;
+ t << "}{\\pageref{" << stripPath(fn) << "}}{}" << endl;
}
}
diff --git a/src/util.cpp b/src/util.cpp
index 64e63c8..8f7765a 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -6502,6 +6502,8 @@ void filterLatexString(FTextStream &t,const char *str,
break;
case '"': t << "\\char`\\\"{}";
break;
+ case '\'': t << "\\textquotesingle{}";
+ break;
default:
//if (!insideTabbing && forceBreaks && c!=' ' && *p!=' ')