summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2019-06-22 10:14:13 (GMT)
committerGitHub <noreply@github.com>2019-06-22 10:14:13 (GMT)
commitd3106415072cbab2dda9ba72d4fc31db13824c24 (patch)
tree6fe1d287f6803cebec148969651fa8478e0d9b14 /src
parentec3b7a41ea4781d98250a306c2da83ccfddc3519 (diff)
parentd167351779132a7c85d92954e497b19d3a223bbd (diff)
downloadDoxygen-d3106415072cbab2dda9ba72d4fc31db13824c24.zip
Doxygen-d3106415072cbab2dda9ba72d4fc31db13824c24.tar.gz
Doxygen-d3106415072cbab2dda9ba72d4fc31db13824c24.tar.bz2
Merge pull request #7059 from albert-github/feature/bug_xhtml_brackets
(X)HTML warning when `[` or `]` in constructed ids
Diffstat (limited to 'src')
-rw-r--r--src/util.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util.cpp b/src/util.cpp
index 338b10c..fa973ba 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -5479,6 +5479,8 @@ QCString escapeCharsInString(const char *name,bool allowDots,bool allowUnderscor
case '$': growBuf.addStr("_0B"); break;
case '\\': growBuf.addStr("_0C"); break;
case '@': growBuf.addStr("_0D"); break;
+ case ']': growBuf.addStr("_0E"); break;
+ case '[': growBuf.addStr("_0F"); break;
default:
if (c<0)
{