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: @"\n"]; } else if ([name isEqual: @"br"] == YES) @@ -1320,14 +1329,22 @@ - (void) outputNode: (GSXMLNode*)node to: (NSMutableString*)buf { [buf appendString: indent]; [buf appendString: @"
\n"]; + [self incIndent]; } if (navcss) { [buf appendString: indent]; [buf appendString: @"
\n"]; + [self incIndent]; + [buf appendString: indent]; [buf appendString: @"
\n"]; + [self incIndent]; + + [buf appendString: indent]; + [buf appendString: @"
\n"]; + [self incIndent]; [buf appendString: indent]; [buf appendString: @@ -1351,11 +1368,20 @@ - (void) outputNode: (GSXMLNode*)node to: (NSMutableString*)buf [buf appendString: @"Variables
\n"]; + [self decIndent]; + [buf appendString: indent]; + [buf appendString: @"
\n"]; // content-bar-top-body + [self decIndent]; [buf appendString: indent]; [buf appendString: @"
\n"]; // content-bar-top [buf appendString: indent]; [buf appendString: @"
\n"]; + [self incIndent]; + + [buf appendString: indent]; + [buf appendString: @"
\n"]; + [self incIndent]; [buf appendString: indent]; [buf appendString: @"Classes\n"]; @@ -1424,14 +1450,23 @@ - (void) outputNode: (GSXMLNode*)node to: (NSMutableString*)buf target: nil to: buf]; + [self decIndent]; + [buf appendString: indent]; + [buf appendString: @"
\n"]; // bar-bottom-body + [self decIndent]; [buf appendString: indent]; [buf appendString: @"
\n"]; // bar-bottom + [self decIndent]; [buf appendString: indent]; [buf appendString: @"
\n"]; // content-bar [buf appendString: indent]; [buf appendString: @"
\n"]; + [self incIndent]; + [buf appendString: indent]; + [buf appendString: @"
\n"]; + [self incIndent]; } if (prevFile != nil)