mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-05 00:39:21 +00:00
Simplify sanitization of accepted HTML attributes
This commit is contained in:
1 parent
630befd23b
commit
c915bc7c95
1 file changed
+1
-1
@@ -615,7 +615,7 @@ static NSData* _sanitizeContent(NSData *theData)
|
||||
if (!skipAttribute)
|
||||
[resultPart appendFormat: @" %@=\"%@\"",
|
||||
name, [value stringByReplacingString: @"\""
|
||||
withString: @"\\\""]];
|
||||
withString: @""]];
|
||||
}
|
||||
|
||||
if ([VoidTags containsObject: lowerName])
|
||||
|
||||
Reference in new issue
Block a user