Blob Blame History Raw
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);