Monotone-Parent: 6abb8375831082425cff443adae2a3a663f43a6d
Monotone-Revision: 8b85752325ab90167923684643ea6fe0374ee7a1 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2012-02-10T10:42:33
This commit is contained in:
parent
2f887c3e37
commit
b7077e74de
|
@ -1,3 +1,9 @@
|
|||
2012-02-10 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* UI/MailPartViewers/UIxMailPartHTMLViewer.m (+): added all simple
|
||||
tag to "VoidTags", based on list from
|
||||
http://www.w3.org/TR/html4/index/elements.html.
|
||||
|
||||
2012-02-10 Francis Lachapelle <flachapelle@inverse.ca>
|
||||
|
||||
* UI/WebServerResources/generic.js (openMailTo): recipients are
|
||||
|
|
|
@ -236,7 +236,13 @@ static NSData* _sanitizeContent(NSData *theData)
|
|||
@"frame", @"iframe", @"applet", @"link",
|
||||
@"base", @"meta", @"title", nil];
|
||||
if (!VoidTags)
|
||||
VoidTags = [[NSArray alloc] initWithObjects: @"br", @"hr", nil];
|
||||
{
|
||||
/* see http://www.w3.org/TR/html4/index/elements.html */
|
||||
VoidTags = [[NSArray alloc] initWithObjects: @"area", @"base",
|
||||
@"basefont", @"br", @"col", @"frame", @"hr",
|
||||
@"img", @"input", @"isindex", @"link",
|
||||
@"meta", @"param", @"", nil];
|
||||
}
|
||||
}
|
||||
|
||||
- (id) init
|
||||
|
|
Loading…
Reference in a new issue