From 9d39ec6cec4d830834f3230adb5def7b03c0c492 Mon Sep 17 00:00:00 2001 From: albert-github Date: Wed, 13 Feb 2019 19:27:34 +0100 Subject: Adjustment of xhtml1-transitional.dtd Adding attributes: - doxygen to be able to validate doxygen generated xhtml documents. Analogous to #6681 but now for the area tag (found in the doxygen tag example). --- testing/dtd/xhtml1-transitional.dtd | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/testing/dtd/xhtml1-transitional.dtd b/testing/dtd/xhtml1-transitional.dtd index 4ac1571..6d63e50 100755 --- a/testing/dtd/xhtml1-transitional.dtd +++ b/testing/dtd/xhtml1-transitional.dtd @@ -34,6 +34,10 @@ @@ -885,12 +889,14 @@ name CDATA #IMPLIED > + Date: Sat, 16 Feb 2019 13:53:20 +0100 Subject: Adjustment of xhtml1-transitional.dtd After small discussion conclusion was better to remove the obsolete `doxygen=` --- src/util.cpp | 4 ---- testing/dtd/xhtml1-transitional.dtd | 12 ------------ 2 files changed, 16 deletions(-) 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 6d63e50..764c41a 100755 --- a/testing/dtd/xhtml1-transitional.dtd +++ b/testing/dtd/xhtml1-transitional.dtd @@ -30,14 +30,6 @@ @@ -654,7 +646,6 @@ - - Date: Sat, 16 Feb 2019 14:50:51 +0100 Subject: Adjustment of xhtml1-transitional.dtd - mapping changed due to missing `doxygen=` - externalRef part changeddue to missing`doxygen=` --- src/context.cpp | 2 +- src/dot.cpp | 2 +- src/ftvhelp.cpp | 2 +- src/htmldocvisitor.cpp | 2 +- src/htmlgen.cpp | 4 ++-- 5 files changed, 6 insertions(+), 6 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 << "" << 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 << "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 << " Date: Sat, 16 Feb 2019 15:10:23 +0100 Subject: Adjustment of xhtml1-transitional.dtd Some more ... --- src/diagram.cpp | 2 +- src/dot.cpp | 1 - src/htmlgen.cpp | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) 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 << "