* GSWeb.framework/GSWBrowser.m

o fixed double HTML escaping bug (reported by David Ayers)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@20960 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
mguesdon 2005-03-22 09:04:46 +00:00
parent cdd4789b1d
commit 58dbc8c083
2 changed files with 10 additions and 6 deletions

View file

@ -1,3 +1,7 @@
2005-03-22 Manuel Guesdon <mguesdon@orange-concept.com>
* GSWeb.framework/GSWBrowser.m
o fixed double HTML escaping bug (reported by David Ayers)
2005-03-21 Richard Frith-Macdonald <rfm@gnu.org>
* GSWeb.framework/GSWRequest.m
o cleanup GSMime access and avoid unnecessary setting of

View file

@ -369,16 +369,16 @@ static SEL valueInComponentSEL = NULL;
};
//<OPTGROUP label="PortMaster 3">
if (escapeHTMLBoolValue)
displayStringValue=GSWResponse_stringByEscapingHTMLString(aResponse,displayStringValue);
NSDebugMLLog(@"gswdync",@"displayStringValue=%@",displayStringValue);
#ifndef ENABLE_OPTGROUP
if (optGroupLabel)
{
displayStringValue=[NSString stringWithFormat:@"%@ --",displayStringValue];
};
displayStringValue=[displayStringValue stringByAppendingString:@" --"];
};
#endif
GSWResponse_appendContentHTMLString(aResponse,displayStringValue);
if (escapeHTMLBoolValue)
GSWResponse_appendContentHTMLString(aResponse,displayStringValue);
else
GSWResponse_appendContentString(aResponse,displayStringValue);
};
if (valueValue)
{