Skip to content

Commit

Permalink
Added title as meta tag as suggested by chbeer@aa5face
Browse files Browse the repository at this point in the history
  • Loading branch information
odrobnik committed Jul 9, 2011
1 parent 7a5b27c commit edc9252
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Classes/NSString+HTML.m
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@ - (BOOL)isMetaTag
#ifdef DT_USE_THREAD_SAFE_INITIALIZATION
static dispatch_once_t predicate;
dispatch_once(&predicate, ^{
metaTags = [[NSSet alloc] initWithObjects:@"html", @"head", @"meta", @"style", @"#COMMENT#", nil];
metaTags = [[NSSet alloc] initWithObjects:@"html", @"head", @"meta", @"style", @"#COMMENT#", @"title", nil];
});
#else
if (!metaTags)
{
metaTags = [[NSSet alloc] initWithObjects:@"html", @"head", @"meta", @"style", @"#COMMENT#", nil];
metaTags = [[NSSet alloc] initWithObjects:@"html", @"head", @"meta", @"style", @"#COMMENT#", @"title", nil];
}
#endif

Expand Down

0 comments on commit edc9252

Please sign in to comment.