* 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:
Manuel Guesdon 2004-03-25 08:34:34 +00:00
parent 0735e5ab7c
commit 48c3a00d54

View file

@ -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];