From d31ed9a68ec2cce9708ae479af5be9913e1a72a0 Mon Sep 17 00:00:00 2001 From: rfm Date: Sun, 17 Nov 2024 10:14:08 +0000 Subject: [PATCH] Technically
is correct xml even though
is generally accepted. --- Tools/AGSHtml.m | 64 ++++++++++++++++++++++++------------------------- 1 file changed, 32 insertions(+), 32 deletions(-) diff --git a/Tools/AGSHtml.m b/Tools/AGSHtml.m index 99af2a1f4..f6ed21f57 100644 --- a/Tools/AGSHtml.m +++ b/Tools/AGSHtml.m @@ -262,7 +262,7 @@ static NSMutableSet *textNodes = nil; * Calls -makeLink:ofType:isRef: or -makeLink:ofType:inUnit:isRef: to * create the first part of an anchor, and fills in the text content * of the anchor with n (the specified name). Returns an entire anchor - * string as a result.
+ * string as a result.
* This method is used to create all the anchors in the html output. */ - (NSString*) makeAnchor: (NSString*)r @@ -337,9 +337,9 @@ static NSMutableSet *textNodes = nil; /** * Make a link for the element r, with the specified type t, * in a particular unit u. Only the start of - * the html element is returned (<a ...>).
+ * the html element is returned (<a ...>).
* If the boolean f is YES, then the link is a reference to somewhere, - * otherwise the link is an anchor for some element being output.
+ * otherwise the link is an anchor for some element being output.
* If there is an error, the method returns nil. */ - (NSString*) makeLink: (NSString*)r @@ -584,7 +584,7 @@ static NSMutableSet *textNodes = nil; } else { - [buf appendString: @"
"]; + [buf appendString: @"
"]; } [buf appendString: @"\n"]; } @@ -748,7 +748,7 @@ static NSMutableSet *textNodes = nil; } else { - [buf appendString: @"
"]; + [buf appendString: @"
"]; } [buf appendString: @"\n"]; @@ -797,7 +797,7 @@ static NSMutableSet *textNodes = nil; [self outputNodeList: children to: buf]; [buf appendString: indent]; - [buf appendString: @"
\n"]; + [buf appendString: @"
\n"]; if (prevFile != nil) { [buf appendString: indent]; @@ -836,7 +836,7 @@ static NSMutableSet *textNodes = nil; } else if ([name isEqual: @"br"] == YES) { - [buf appendString: @"
"]; + [buf appendString: @"
"]; } else if ([name isEqual: @"category"] == YES) { @@ -933,7 +933,7 @@ static NSMutableSet *textNodes = nil; [buf appendString: @"\n"]; [buf appendString: indent]; [buf appendString: str]; - [buf appendString: @";
\n"]; + [buf appendString: @";
\n"]; node = firstElement(children); @@ -1246,7 +1246,7 @@ static NSMutableSet *textNodes = nil; [buf appendString: @"\n"]; [buf appendString: indent]; [buf appendString: str]; - [buf appendString: @");
\n"]; + [buf appendString: @");
\n"]; node = firstElement(children); @@ -1359,25 +1359,25 @@ static NSMutableSet *textNodes = nil; [buf appendString: indent]; [buf appendString: - @"Classes
\n"]; + @"Classes
\n"]; [buf appendString: indent]; [buf appendString: - @"Protocols
\n"]; + @"Protocols
\n"]; [buf appendString: indent]; [buf appendString: - @"Constants
\n"]; + @"Constants
\n"]; [buf appendString: indent]; [buf appendString: - @"Functions
\n"]; + @"Functions
\n"]; [buf appendString: indent]; [buf appendString: - @"Macros
\n"]; + @"Macros
\n"]; [buf appendString: indent]; [buf appendString: - @"Types
\n"]; + @"Types
\n"]; [buf appendString: indent]; [buf appendString: - @"Variables
\n"]; + @"Variables
\n"]; [self decIndent]; [buf appendString: indent]; @@ -1512,7 +1512,7 @@ static NSMutableSet *textNodes = nil; if (prevFile != nil || upFile != nil || nextFile != nil) { [buf appendString: indent]; - [buf appendString: @"
\n"]; + [buf appendString: @"
\n"]; } [buf appendString: indent]; @@ -1733,7 +1733,7 @@ static NSMutableSet *textNodes = nil; { v = @"public"; } - [buf appendFormat: @"%@@%@ %@ %@;
\n", indent, v, t, n]; + [buf appendFormat: @"%@@%@ %@ %@;
\n", indent, v, t, n]; /* * List standards with which ivar complies @@ -1851,7 +1851,7 @@ static NSMutableSet *textNodes = nil; { [buf appendString: @")"]; } - [buf appendString: @"
\n"]; + [buf appendString: @"
\n"]; node = firstElement(children); @@ -1998,7 +1998,7 @@ static NSMutableSet *textNodes = nil; [buf appendString: @"\n"]; [buf appendString: indent]; [buf appendString: str]; - [buf appendString: @";
\n"]; + [buf appendString: @";
\n"]; node = firstElement(children); @@ -2016,23 +2016,23 @@ static NSMutableSet *textNodes = nil; && [str boolValue] == YES) { [buf appendString: @"This is a designated initialiser " - @"for the class.
\n"]; + @"for the class.
\n"]; } str = [prop objectForKey: @"override"]; if ([str isEqual: @"subclass"] == YES) { [buf appendString: @"Subclasses must " - @"override this method.
\n"]; + @"override this method.
\n"]; } else if ([str isEqual: @"dummy"] == YES) { [buf appendString: @"An empty method provided for subclasses " - @"to override.
\n"]; + @"to override.
\n"]; } else if ([str isEqual: @"never"] == YES) { [buf appendString: @"Subclasses must NOT " - @"override this method.
\n"]; + @"override this method.
\n"]; } if ([[node name] isEqual: @"desc"]) @@ -2214,7 +2214,7 @@ static NSMutableSet *textNodes = nil; [buf appendString: @"\n"]; [buf appendString: indent]; [buf appendString: str]; - [buf appendString: @";
\n"]; + [buf appendString: @";
\n"]; node = firstElement(children); @@ -2292,7 +2292,7 @@ static NSMutableSet *textNodes = nil; [buf appendString: @"\n"]; [buf appendString: indent]; [buf appendString: str]; - [buf appendString: @";
\n"]; + [buf appendString: @";
\n"]; node = firstElement(children); @@ -2866,11 +2866,11 @@ static NSMutableSet *textNodes = nil; [buf appendFormat: @"Instance Variables\n", classname]; [buf appendString: indent]; - [buf appendString: @"

\n"]; + [buf appendString: @"

\n"]; [ibuf appendFormat: @"", classname]; } [ibuf appendString: indent]; - [ibuf appendString: @"

\n"]; + [ibuf appendString: @"

\n"]; [ibuf appendString: indent]; [ibuf appendFormat: @"

Instance Variables for %@ Class

\n", classname]; @@ -2880,7 +2880,7 @@ static NSMutableSet *textNodes = nil; node = [node nextElement]; } [ibuf appendString: indent]; - [ibuf appendString: @"


\n"]; + [ibuf appendString: @"


\n"]; } a = [localRefs methodsInUnit: unit]; @@ -3018,7 +3018,7 @@ static NSMutableSet *textNodes = nil; } } [buf appendString:@"\n"]; - [buf appendString: @"
\n"]; + [buf appendString: @"
\n"]; } else if ([gvadd length] > 0) { @@ -3036,14 +3036,14 @@ static NSMutableSet *textNodes = nil; [buf appendString: @" deprecated at "]; [buf appendString: gvdep]; } - [buf appendString: @"
\n"]; + [buf appendString: @"
\n"]; if ([gvrem length] > 0) { [buf appendString: @" Likely to be changed/moved/removed at "]; [buf appendString: gvrem]; } [buf appendString:@"\n"]; - [buf appendString: @"
\n"]; + [buf appendString: @"
\n"]; } }