attribute target redefined in SVG

This commit is contained in:
Than Ngo 2020-09-29 12:29:13 +02:00
parent 6f6455a533
commit 6b0c5db74b
2 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,20 @@
commit ff021223c89995bf2abc4f33befddb1c97cab1d8
Author: albert-github <albert.tests@gmail.com>
Date: Thu Sep 24 19:12:10 2020 +0200
issue #8053 error: Attribute target redefined in SVG
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.
diff --git a/src/dotfilepatcher.cpp b/src/dotfilepatcher.cpp
index 099359d9..285c0bb8 100644
--- a/src/dotfilepatcher.cpp
+++ b/src/dotfilepatcher.cpp
@@ -174,6 +174,7 @@ static QCString replaceRef(const QCString &buf,const QCString relPath,
if (!ref.isEmpty())
{
result = externalLinkTarget(true);
+ if (!result.isEmpty())targetAlreadySet=true;
}
result+= href+"=\"";
result+=externalRef(relPath,ref,TRUE);

View File

@ -32,6 +32,7 @@ Patch3: doxygen-1.8.20-broken-ref-for-enum-entry.patch
Patch4: doxygen-1.8.20-links-using-ref-stopp-working.patch
Patch5: doxygen-1.8.20-python3.patch
Patch6: doxygen-1.8.20-does-not-handle-simple-example-in-md-file.patch
Patch7: doxygen-1.8.20-attribute-target-redefined-in-svg.patch
BuildRequires: %{_bindir}/python3
BuildRequires: ImageMagick