Simplify sanitization of accepted HTML attributes

This commit is contained in:
Francis Lachapelle committed 2017-08-22 10:18:30 -04:00
1 parent 630befd23b
commit c915bc7c95
1 file changed
+1 -1
+1 -1
View File
@@ -615,7 +615,7 @@ static NSData* _sanitizeContent(NSData *theData)
if (!skipAttribute)
[resultPart appendFormat: @" %@=\"%@\"",
name, [value stringByReplacingString: @"\""
withString: @"\\\""]];
withString: @""]];
}
if ([VoidTags containsObject: lowerName])