mirror of
https://github.com/gnustep/libs-gsweb.git
synced 2025-04-22 23:11:15 +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
0735e5ab7c
commit
48c3a00d54
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…
Reference in a new issue