summaryrefslogtreecommitdiffstats
path: root/tools/qdoc3
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>2009-11-17 12:49:04 (GMT)
committerThorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>2009-11-17 14:25:25 (GMT)
commit5d4049764e6747f5e6336826de505b872a26bea4 (patch)
tree48bdcf6f3766d11032887e835c08af2abd09c972 /tools/qdoc3
parent333bd2e761af8aaf6efd3d66eb028af046c4dfc2 (diff)
downloadQt-5d4049764e6747f5e6336826de505b872a26bea4.zip
Qt-5d4049764e6747f5e6336826de505b872a26bea4.tar.gz
Qt-5d4049764e6747f5e6336826de505b872a26bea4.tar.bz2
Fixed the closing of the A attribute at the start of each class page
It needs to be closed with </a> instead of the short /> notation, in order for browsers like Firefox and Chrome not to get confused. It caused the span used to make the subtitle smaller to only have effect up until the link to the module started (only applying the span to the opening '['). Reviewed-by: Martin Smith <msmith@trolltech.com>
Diffstat (limited to 'tools/qdoc3')
-rw-r--r--tools/qdoc3/htmlgenerator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qdoc3/htmlgenerator.cpp b/tools/qdoc3/htmlgenerator.cpp
index 957f04f..8711c6b 100644
--- a/tools/qdoc3/htmlgenerator.cpp
+++ b/tools/qdoc3/htmlgenerator.cpp
@@ -4080,7 +4080,7 @@ void HtmlGenerator::generateMacRef(const Node *node, CodeMarker *marker)
QStringList macRefs = marker->macRefsForNode(node);
foreach (const QString &macRef, macRefs)
- out() << "<a name=\"" << "//apple_ref/" << macRef << "\" />\n";
+ out() << "<a name=\"" << "//apple_ref/" << macRef << "\"></a>\n";
}
void HtmlGenerator::beginLink(const QString &link,