From a4c2fd0e8f367531b78683ba920a853e23d101ec Mon Sep 17 00:00:00 2001 From: albert-github Date: Thu, 6 Dec 2018 17:03:52 +0100 Subject: XHTML problem with class index table When running xhtml checker on the doxygen diagram example we get: Element tr content does not follow the DTD, expecting (th | td)+, got Document diagrams/xhtml/classes.xhtml does not validate This is due to an empty ``, adding the appropriate column definitions solves the problem. --- src/index.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/index.cpp b/src/index.cpp index 84b5e51..5439987 100644 --- a/src/index.cpp +++ b/src/index.cpp @@ -2284,11 +2284,12 @@ static void writeAlphabeticalClassList(OutputList &ol, ClassDef::CompoundType ct } ol.writeNonBreakableSpace(3); } - ++(*colIterators[j]); - if (cell->letter()!=0 || cell->classDef()!=(ClassDef*)0x8) - { - ol.writeString(""); + else + { + ol.writeString(""); } + ++(*colIterators[j]); + ol.writeString(""); } } else -- cgit v0.12