diff --git a/Tools/AGSHtml.m b/Tools/AGSHtml.m
index 31244a41e..fb79a5f35 100644
--- a/Tools/AGSHtml.m
+++ b/Tools/AGSHtml.m
@@ -514,6 +514,7 @@ - (void) outputIndex: (NSString*)type
*/
[buf appendString: indent];
[buf appendFormat: @"
\n", scope, type];
+ [self incIndent];
if ([type isEqual: @"title"] == YES)
{
@@ -750,8 +751,10 @@ - (void) outputIndex: (NSString*)type
}
[buf appendString: @"\n"];
}
+
+ [self decIndent];
[buf appendString: indent];
- [buf appendString: @"
\n"];
+ [buf appendString: @"\n"]; // nav-bar section
}
- (void) outputNode: (GSXMLNode*)node to: (NSMutableString*)buf
@@ -801,17 +804,23 @@ - (void) outputNode: (GSXMLNode*)node to: (NSMutableString*)buf
}
[self decIndent];
- [buf appendString: indent];
- [buf appendString: indent];
if (navcss)
{
- [buf appendString: @"\n"];
+ [self decIndent];
+ [buf appendString: indent];
+ [buf appendString: @"\n"]; //content-pane-body
+ [self decIndent];
+ [buf appendString: indent];
+ [buf appendString: @"\n"]; //content-pane
}
if (isContentsDoc)
{
+ [self decIndent];
+ [buf appendString: indent];
[buf appendString: @"\n"];
}
+ [buf appendString: indent];
[buf appendString: @"