Permalink
Browse files

fixed wrong !

  • Loading branch information...
1 parent 00b45f7 commit cac85c98c63a70997039565669e563352644eeb2 @odrobnik odrobnik committed Dec 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Core/Source/DTHTMLAttributedStringBuilder.m
@@ -644,7 +644,7 @@ - (void)parser:(DTHTMLParser *)parser didEndElement:(NSString *)elementName
[_tmpString appendAttributedString:nodeString];
_currentTag.didOutput = YES;
- if (_shouldKeepDocumentNodeTree)
+ if (!_shouldKeepDocumentNodeTree)
{
// we don't need the children any more
[_currentTag removeAllChildNodes];

0 comments on commit cac85c9

Please sign in to comment.