Fix block output to handle text nodes

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@11800 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-Macdonald 2001-12-18 07:06:05 +00:00
parent 2b0506e0c2
commit 478c41912d

View file

@ -1163,6 +1163,10 @@ NSLog(@"Element '%@' not implemented", name); // FIXME
NSLog(@"Element 'embed' not supported");
return [node next];
}
else if ([textNodes member: n] != nil)
{
return [self outputText: node to: buf];
}
else
{
NSLog(@"Non-block element '%@' in block ...", n);