From 0329406ce37bb4d312babf2bdcf3f1a79f4495f9 Mon Sep 17 00:00:00 2001 From: mguesdon Date: Thu, 25 Mar 2004 08:34:34 +0000 Subject: [PATCH] * 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 --- GSWeb.framework/GSWHTMLDynamicElement.m | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/GSWeb.framework/GSWHTMLDynamicElement.m b/GSWeb.framework/GSWHTMLDynamicElement.m index 53b74b2..00fd935 100644 --- a/GSWeb.framework/GSWHTMLDynamicElement.m +++ b/GSWeb.framework/GSWHTMLDynamicElement.m @@ -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];