summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2015-03-16 18:55:52 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2015-03-16 18:55:52 (GMT)
commit86e28b8770bb4f3bf62f6b4d0755eaa0dcb10747 (patch)
tree6c67203438f3e504b97a6aad4766061996120029
parent95375152974fa7e0e4d4cec7007d942dd5e9615e (diff)
parent072383ed1c6fcfff7a7619d92ce3a8cb0b91fff9 (diff)
downloadDoxygen-86e28b8770bb4f3bf62f6b4d0755eaa0dcb10747.zip
Doxygen-86e28b8770bb4f3bf62f6b4d0755eaa0dcb10747.tar.gz
Doxygen-86e28b8770bb4f3bf62f6b4d0755eaa0dcb10747.tar.bz2
Merge pull request #313 from albert-github/feature/bug_latex_textdegree
HTML entity &deg; gives problems in LaTeX
-rw-r--r--src/htmlentity.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/htmlentity.cpp b/src/htmlentity.cpp
index 7b61ead..c4c601f 100644
--- a/src/htmlentity.cpp
+++ b/src/htmlentity.cpp
@@ -59,7 +59,7 @@ static struct htmlEntityInfo
{ SYM(shy), "\xc2\xad", "&shy;", "<shy/>", "&#173;", "{$\\-$}", NULL, "\\-", { NULL, DocSymbol::Perl_unknown }},
{ SYM(reg), "\xc2\xae", "&reg;", "<registered/>", "&#174;", "\\textregistered{}", "(R)", "\\'AE", { "registered", DocSymbol::Perl_symbol }},
{ SYM(macr), "\xc2\xaf", "&macr;", "<macr/>", "&#175;", "\\={}", NULL, "\\'AF", { NULL, DocSymbol::Perl_unknown }},
- { SYM(deg), "\xc2\xb0", "&deg;", "<deg/>", "&#176;", "\\textdegree", NULL, "\\'B0", { "deg", DocSymbol::Perl_symbol }},
+ { SYM(deg), "\xc2\xb0", "&deg;", "<deg/>", "&#176;", "\\textdegree{}", NULL, "\\'B0", { "deg", DocSymbol::Perl_symbol }},
{ SYM(plusmn), "\xc2\xb1", "&plusmn;", "<plusmn/>", "&#177;", "{$\\pm$}", NULL, "\\'B1", { "+/-", DocSymbol::Perl_string }},
{ SYM(sup2), "\xc2\xb2", "&sup2;", "<sup2/>", "&#178;", "\\texttwosuperior{}", NULL, "\\'B2", { NULL, DocSymbol::Perl_unknown }},
{ SYM(sup3), "\xc2\xb3", "&sup3;", "<sup3/>", "&#179;", "\\textthreesuperior{}", NULL, "\\'B3", { NULL, DocSymbol::Perl_unknown }},