summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2018-12-08 15:54:29 (GMT)
committerGitHub <noreply@github.com>2018-12-08 15:54:29 (GMT)
commit535a99139380afb050fc22ca535ab40c82160fdf (patch)
tree8f57769d48cfe5aeeb763257fc6d81403fc6f487 /src
parent089d7dafd2892ccc75c620c08f1a9da0260072b4 (diff)
parent36adf08f19b7c6bce53b42a5de577d578bbd0bea (diff)
downloadDoxygen-535a99139380afb050fc22ca535ab40c82160fdf.zip
Doxygen-535a99139380afb050fc22ca535ab40c82160fdf.tar.gz
Doxygen-535a99139380afb050fc22ca535ab40c82160fdf.tar.bz2
Merge pull request #6669 from albert-github/feature/bug_xhtml_maparea_node_numbers
XHTML problem with multiple use of node numbers in id attribute
Diffstat (limited to 'src')
-rw-r--r--src/dot.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/dot.cpp b/src/dot.cpp
index dd34411..0d8502d 100644
--- a/src/dot.cpp
+++ b/src/dot.cpp
@@ -24,6 +24,7 @@
#include <qthread.h>
#include <qmutex.h>
#include <qwaitcondition.h>
+#include <qregexp.h>
#include "dot.h"
#include "doxygen.h"
@@ -376,6 +377,7 @@ static bool convertMapFile(FTextStream &t,const char *mapName,
const QCString &context=QCString())
{
QFile f(mapName);
+ static QRegExp re("id=\"node[0-9]*\"");
if (!f.open(IO_ReadOnly))
{
err("problems opening map file %s for inclusion in the docs!\n"
@@ -394,7 +396,7 @@ static bool convertMapFile(FTextStream &t,const char *mapName,
if (buf.left(5)=="<area")
{
- t << replaceRef(buf,relPath,urlOnly,context);
+ t << replaceRef(buf,relPath,urlOnly,context).replace(re,"");
}
}
}