mirror of
https://github.com/gnustep/libs-gsweb.git
synced 2025-05-30 08:41:24 +00:00
* GSWeb.framework/GSWHTMLDynamicElement.m:
o fixed bug in -initWithName:attributeAssociations:contentElements: for associationValue quoting git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18904 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
542dc64005
commit
0329406ce3
1 changed files with 3 additions and 1 deletions
|
@ -115,8 +115,10 @@ attributeAssociations:(NSDictionary*)attributeAssociations
|
|||
length:1];
|
||||
associationValue=[NSString stringWithFormat:@"%@",associationValue];
|
||||
// Parser remove "";
|
||||
if ([associationValue hasPrefix:@"\""])
|
||||
if (![associationValue hasPrefix:@"\""])
|
||||
associationValue=[NSString stringWithFormat:@"\"%@\"",associationValue];
|
||||
NSDebugMLLog(@"gswdync",@"'associationValue'='%@'",
|
||||
associationValue);
|
||||
[htmlBareStrings addObject:associationValue];
|
||||
[elementsMap appendBytes:&ElementsMap_htmlBareString
|
||||
length:1];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue