be consistent in br style

This commit is contained in:
Riccardo Mottola 2024-08-07 00:07:47 +02:00
parent 726777bf6e
commit 6df0930f33

View file

@ -648,7 +648,7 @@ static NSMutableSet *textNodes = nil;
} }
else if ([name isEqual: @"br"] == YES) else if ([name isEqual: @"br"] == YES)
{ {
[buf appendString: @"<br />"]; [buf appendString: @"<br/>"];
} }
else if ([name isEqual: @"category"] == YES) else if ([name isEqual: @"category"] == YES)
{ {
@ -739,7 +739,7 @@ static NSMutableSet *textNodes = nil;
[buf appendString: @"</h3>\n"]; [buf appendString: @"</h3>\n"];
[buf appendString: indent]; [buf appendString: indent];
[buf appendString: str]; [buf appendString: str];
[buf appendString: @";<br />\n"]; [buf appendString: @";<br/>\n"];
node = firstElement(children); node = firstElement(children);
@ -1937,7 +1937,7 @@ static NSMutableSet *textNodes = nil;
[buf appendString: @"</h3>\n"]; [buf appendString: @"</h3>\n"];
[buf appendString: indent]; [buf appendString: indent];
[buf appendString: str]; [buf appendString: str];
[buf appendString: @";<br />\n"]; [buf appendString: @";<br/>\n"];
node = firstElement(children); node = firstElement(children);
@ -2549,14 +2549,14 @@ static NSMutableSet *textNodes = nil;
[buf appendString: @" deprecated at "]; [buf appendString: @" deprecated at "];
[buf appendString: gvdep]; [buf appendString: gvdep];
} }
[buf appendString: @"<br />\n"]; [buf appendString: @"<br/>\n"];
if ([gvrem length] > 0) if ([gvrem length] > 0)
{ {
[buf appendString: @" Likely to be changed/moved/removed at "]; [buf appendString: @" Likely to be changed/moved/removed at "];
[buf appendString: gvrem]; [buf appendString: gvrem];
} }
[buf appendString:@"</div>\n"]; [buf appendString:@"</div>\n"];
[buf appendString: @"<br />\n"]; [buf appendString: @"<br/>\n"];
} }
} }