Blame doxygen-1.8.20-attribute-target-redefined-in-svg.patch
Branch: 4be37ca6b9ef7ab445931fec5144a7bec88418d4
Than Ngo
6b0c5d
commit ff021223c89995bf2abc4f33befddb1c97cab1d8
Than Ngo
6b0c5d
Author: albert-github <albert.tests@gmail.com>
Than Ngo
6b0c5d
Date: Thu Sep 24 19:12:10 2020 +0200
Than Ngo
6b0c5d
Than Ngo
6b0c5d
issue #8053 error: Attribute target redefined in SVG
Than Ngo
6b0c5d
Than Ngo
6b0c5d
regression on #7706 (although it has nothing to do with double runs in my opinion as indicated in the title of that issue: " Md5 hash does not match for two different runs") looks like this statement should be present.
Than Ngo
6b0c5d
Than Ngo
6b0c5d
diff --git a/src/dotfilepatcher.cpp b/src/dotfilepatcher.cpp
Than Ngo
6b0c5d
index 099359d9..285c0bb8 100644
Than Ngo
6b0c5d
--- a/src/dotfilepatcher.cpp
Than Ngo
6b0c5d
+++ b/src/dotfilepatcher.cpp
Than Ngo
6b0c5d
@@ -174,6 +174,7 @@ static QCString replaceRef(const QCString &buf,const QCString relPath,
Than Ngo
6b0c5d
if (!ref.isEmpty())
Than Ngo
6b0c5d
{
Than Ngo
6b0c5d
result = externalLinkTarget(true);
Than Ngo
6b0c5d
+ if (!result.isEmpty())targetAlreadySet=true;
Than Ngo
6b0c5d
}
Than Ngo
6b0c5d
result+= href+"=\"";
Than Ngo
6b0c5d
result+=externalRef(relPath,ref,TRUE);