Skip to content

Commit

Permalink
fixed wrong !
Browse files Browse the repository at this point in the history
  • Loading branch information
odrobnik committed Dec 30, 2012
1 parent 00b45f7 commit cac85c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Core/Source/DTHTMLAttributedStringBuilder.m
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit cac85c9

Please sign in to comment.