diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2019-02-17 19:38:08 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-17 19:38:08 (GMT) |
commit | d69ddc9cddf0bc08cf0df3fab45b772448661db2 (patch) | |
tree | f78d0ca1e225b4e681e723fe4e9e8d9e9faac23b | |
parent | af363c50c64268f473aa5b595a0379f8590c4759 (diff) | |
parent | e4ccf68c2320b626acef6a95a86a3cbe78415f55 (diff) | |
download | Doxygen-d69ddc9cddf0bc08cf0df3fab45b772448661db2.zip Doxygen-d69ddc9cddf0bc08cf0df3fab45b772448661db2.tar.gz Doxygen-d69ddc9cddf0bc08cf0df3fab45b772448661db2.tar.bz2 |
Merge pull request #6836 from albert-github/feature/bug_xhtml_dtd_2
Adjustment of xhtml1-transitional.dtd
-rw-r--r-- | src/context.cpp | 2 | ||||
-rw-r--r-- | src/diagram.cpp | 2 | ||||
-rw-r--r-- | src/dot.cpp | 3 | ||||
-rw-r--r-- | src/ftvhelp.cpp | 2 | ||||
-rw-r--r-- | src/htmldocvisitor.cpp | 2 | ||||
-rw-r--r-- | src/htmlgen.cpp | 6 | ||||
-rw-r--r-- | src/util.cpp | 4 | ||||
-rwxr-xr-x | testing/dtd/xhtml1-transitional.dtd | 6 |
8 files changed, 8 insertions, 19 deletions
diff --git a/src/context.cpp b/src/context.cpp index 8a3a784..6ddc141 100644 --- a/src/context.cpp +++ b/src/context.cpp @@ -3854,7 +3854,7 @@ class TextGeneratorHtml : public TextGeneratorIntf if (ref) { m_ts << "<a class=\"elRef\" "; - m_ts << externalLinkTarget() << externalRef(m_relPath,ref,FALSE); + m_ts << externalLinkTarget(); } else { diff --git a/src/diagram.cpp b/src/diagram.cpp index 83e42b3..7e2fe15 100644 --- a/src/diagram.cpp +++ b/src/diagram.cpp @@ -261,7 +261,7 @@ static void writeMapArea(FTextStream &t,ClassDef *cd,QCString relPath, t << "<area "; if (!ref.isEmpty()) { - t << externalLinkTarget() << externalRef(relPath,ref,FALSE); + t << externalLinkTarget(); } t << "href=\""; t << externalRef(relPath,ref,TRUE); diff --git a/src/dot.cpp b/src/dot.cpp index 07a1a43..6972005 100644 --- a/src/dot.cpp +++ b/src/dot.cpp @@ -336,7 +336,6 @@ static QCString replaceRef(const QCString &buf,const QCString relPath, { result = externalLinkTarget(); if (result != "") setTarget = TRUE; - result += externalRef(relPath,ref,FALSE); } result+= href+"=\""; result+=externalRef(relPath,ref,TRUE); @@ -721,7 +720,7 @@ static bool insertMapFile(FTextStream &out,const QCString &mapFile, { QGString tmpstr; FTextStream tmpout(&tmpstr); - convertMapFile(tmpout,mapFile,relPath); + convertMapFile(tmpout,mapFile,relPath,TRUE); if (!tmpstr.isEmpty()) { out << "<map name=\"" << mapLabel << "\" id=\"" << mapLabel << "\">" << endl; diff --git a/src/ftvhelp.cpp b/src/ftvhelp.cpp index 5899bea..9e58591 100644 --- a/src/ftvhelp.cpp +++ b/src/ftvhelp.cpp @@ -286,7 +286,7 @@ void FTVHelp::generateLink(FTextStream &t,FTVNode *n) t << "<a class=\"elRef\" "; QCString result = externalLinkTarget(); if (result != "") setTarget = TRUE; - t << result << externalRef("",n->ref,FALSE); + t << result; } else // local link { diff --git a/src/htmldocvisitor.cpp b/src/htmldocvisitor.cpp index 25166bc..fe45667 100644 --- a/src/htmldocvisitor.cpp +++ b/src/htmldocvisitor.cpp @@ -2195,7 +2195,7 @@ void HtmlDocVisitor::startLink(const QCString &ref,const QCString &file, if (!ref.isEmpty()) // link to entity imported via tag file { m_t << "<a class=\"elRef\" "; - m_t << externalLinkTarget() << externalRef(relPath,ref,FALSE); + m_t << externalLinkTarget(); } else // local link { diff --git a/src/htmlgen.cpp b/src/htmlgen.cpp index 513d9a4..d89bb49 100644 --- a/src/htmlgen.cpp +++ b/src/htmlgen.cpp @@ -555,7 +555,7 @@ void HtmlCodeGenerator::_writeCodeLink(const char *className, if (ref) { m_t << "<a class=\"" << className << "Ref\" "; - m_t << externalLinkTarget() << externalRef(m_relPath,ref,FALSE); + m_t << externalLinkTarget(); } else { @@ -1121,7 +1121,7 @@ void HtmlGenerator::startIndexItem(const char *ref,const char *f) if (ref) { t << "<a class=\"elRef\" "; - t << externalLinkTarget() << externalRef(relPath,ref,FALSE); + t << externalLinkTarget(); } else { @@ -1167,7 +1167,7 @@ void HtmlGenerator::writeObjectLink(const char *ref,const char *f, if (ref) { t << "<a class=\"elRef\" "; - t << externalLinkTarget() << externalRef(relPath,ref,FALSE); + t << externalLinkTarget(); } else { diff --git a/src/util.cpp b/src/util.cpp index 53b176d..b99753e 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -8220,10 +8220,6 @@ QCString externalRef(const QCString &relPath,const QCString &ref,bool href) result.prepend(relPath); l+=relPath.length(); } - if (!href){ - result.prepend("doxygen=\""+ref+":"); - l+=10+ref.length(); - } if (l>0 && result.at(l-1)!='/') result+='/'; if (!href) result.append("\" "); } diff --git a/testing/dtd/xhtml1-transitional.dtd b/testing/dtd/xhtml1-transitional.dtd index 4ac1571..764c41a 100755 --- a/testing/dtd/xhtml1-transitional.dtd +++ b/testing/dtd/xhtml1-transitional.dtd @@ -30,10 +30,6 @@ <!ATTLIST script added async (async) #IMPLIED - - in - <!ATTLIST a - added - doxygen %URI; #IMPLIED --> <!--================ Character mnemonic entities =========================--> @@ -650,7 +646,6 @@ <!--================== The Anchor Element ================================--> <!-- content is %Inline; except that anchors shouldn't be nested --> -<!-- added for doxygen: doxygen %URI; #IMPLIED --> <!ELEMENT a %a.content;> <!ATTLIST a @@ -659,7 +654,6 @@ charset %Charset; #IMPLIED type %ContentType; #IMPLIED name NMTOKEN #IMPLIED - doxygen %URI; #IMPLIED href %URI; #IMPLIED hreflang %LanguageCode; #IMPLIED rel %LinkTypes; #IMPLIED |