summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2015-03-15 17:11:58 (GMT)
committeralbert-github <albert.tests@gmail.com>2015-03-15 17:11:58 (GMT)
commit072383ed1c6fcfff7a7619d92ce3a8cb0b91fff9 (patch)
tree6c67203438f3e504b97a6aad4766061996120029
parent95375152974fa7e0e4d4cec7007d942dd5e9615e (diff)
downloadDoxygen-072383ed1c6fcfff7a7619d92ce3a8cb0b91fff9.zip
Doxygen-072383ed1c6fcfff7a7619d92ce3a8cb0b91fff9.tar.gz
Doxygen-072383ed1c6fcfff7a7619d92ce3a8cb0b91fff9.tar.bz2
HTML entity &deg; gives problems in LaTeX
When having &deg;C in the documentation there is no separation between the \textdegree and C in LaTeX. This patch fixes this problem.
-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 }},