mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
Minor tidyup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@11801 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
478c41912d
commit
60f018a1d1
1 changed files with 9 additions and 3 deletions
|
@ -1153,7 +1153,7 @@ NSLog(@"Element '%@' not implemented", name); // FIXME
|
|||
}
|
||||
else if ([n isEqual: @"example"] == YES)
|
||||
{
|
||||
[buf appendString: @"\n<pre>\n"];
|
||||
[buf appendString: @"<pre>\n"];
|
||||
[self outputText: [node children] to: buf];
|
||||
[buf appendString: @"\n</pre>\n"];
|
||||
return [node next];
|
||||
|
@ -1165,7 +1165,10 @@ NSLog(@"Element '%@' not implemented", name); // FIXME
|
|||
}
|
||||
else if ([textNodes member: n] != nil)
|
||||
{
|
||||
return [self outputText: node to: buf];
|
||||
[buf appendString: indent];
|
||||
node = [self outputText: node to: buf];
|
||||
[buf appendString: @"\n"];
|
||||
return node;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -1174,7 +1177,10 @@ NSLog(@"Element '%@' not implemented", name); // FIXME
|
|||
}
|
||||
}
|
||||
|
||||
return [self outputText: node to: buf];
|
||||
[buf appendString: indent];
|
||||
node = [self outputText: node to: buf];
|
||||
[buf appendString: @"\n"];
|
||||
return node;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue