diff --git a/Tools/AGSHtml.m b/Tools/AGSHtml.m index 43eafd3e5..2b192808f 100644 --- a/Tools/AGSHtml.m +++ b/Tools/AGSHtml.m @@ -521,14 +521,8 @@ - (void) outputIndex: (NSString*)type * so that CSS can be used to style it. */ [buf appendString: indent]; - [buf appendFormat: @"
\n", scope, type]; + [buf appendFormat: @"

\n", scope, type]; [self incIndent]; - if ([@"cssNavigation" isEqualToString: style]) - { - [buf appendString: indent]; - [buf appendString: @"

\n"]; - [self incIndent]; - } if ([type isEqual: @"title"] == YES) { @@ -670,7 +664,8 @@ - (void) outputIndex: (NSString*)type [buf appendString: indent]; if (!isBareStyle) { - [buf appendFormat: @"%@\n", title]; + [buf appendFormat: + @"

%@

\n", title]; } [buf appendString: indent]; if (!isBareStyle) @@ -768,15 +763,9 @@ - (void) outputIndex: (NSString*)type [buf appendString: @"\n"]; } - if ([@"cssNavigation" isEqualToString: style]) - { - [self decIndent]; - [buf appendString: indent]; - [buf appendString: @"

\n"]; - } [self decIndent]; [buf appendString: indent]; - [buf appendString: @"
\n"]; // nav-bar section + [buf appendString: @"

\n"]; } - (void) outputNode: (GSXMLNode*)node to: (NSMutableString*)buf