mirror of
https://github.com/gnustep/libs-gsweb.git
synced 2025-04-22 15:00:45 +00:00
* GSWeb.framework/GSWRepetition.h: Only use ASCII characters
in source files. * GSWeb.framework/NSString+HTML.m (initHtmlChars): Ditto git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@20286 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
49969676a3
commit
dc31139434
3 changed files with 30 additions and 27 deletions
|
@ -1,5 +1,9 @@
|
|||
2004-11-03 David Ayers <d.ayers@inode.at>
|
||||
|
||||
* GSWeb.framework/GSWRepetition.h: Only use ASCII characters
|
||||
in source files.
|
||||
* GSWeb.framework/NSString+HTML.m (initHtmlChars): Ditto
|
||||
|
||||
* Doc/GNUmakefile: New file.
|
||||
* Doc/gsweb.gsdoc: Update DTD reference. Minor reformatting.
|
||||
Add references to subprojects. Add myself as coauthor.
|
||||
|
|
|
@ -43,8 +43,8 @@
|
|||
GSWAssociation* _count;
|
||||
GSWAssociation* _index;
|
||||
//GSWeb Additions {
|
||||
GSWAssociation* _startIndex; /** Don't begin à 0 but at startIndex **/
|
||||
GSWAssociation* _stopIndex; /** Don't end à count-1 or list count -1 but at stopIndex **/
|
||||
GSWAssociation* _startIndex; /** Don't begin at 0 but at startIndex **/
|
||||
GSWAssociation* _stopIndex; /** Don't end at count-1 or list count -1 but at stopIndex **/
|
||||
//}
|
||||
GSWHTMLStaticGroup* _childrenGroup;
|
||||
};
|
||||
|
|
|
@ -143,35 +143,34 @@ static NSArray* htmlChars=nil;
|
|||
<!ENTITY yuml CDATA "ÿ" -- small y, dieresis or umlaut -->
|
||||
*/
|
||||
|
||||
#define NORMAL_CHARS @"(\"&\", \
|
||||
\">\", \
|
||||
\"<\", \
|
||||
\"\\\"\", \
|
||||
\"\\U00A3\", \
|
||||
\"|\", \
|
||||
\"\\U00B0\", \
|
||||
\"\\U00E9\", \
|
||||
\"\\U00E7\", \
|
||||
\"\\U00E0\", \
|
||||
\"\\U00E2\", \
|
||||
\"\\U00E3\", \
|
||||
\"\\U00E8\", \
|
||||
\"\\U00EA\", \
|
||||
\"\\U00EC\", \
|
||||
\"\\U00EE\", \
|
||||
\"\\U00F1\", \
|
||||
\"\\U00F4\", \
|
||||
\"\\U00F5\", \
|
||||
\"\\U00F9\", \
|
||||
\"\\U00FB\")"
|
||||
|
||||
void initHtmlChars()
|
||||
static void
|
||||
initHtmlChars()
|
||||
{
|
||||
if (!normalChars)
|
||||
{
|
||||
normalChars=[[NSArray arrayWithObjects:
|
||||
@"&",
|
||||
@">",
|
||||
@"<",
|
||||
@"\"",
|
||||
@"£",
|
||||
@"|",
|
||||
@"°",
|
||||
@"é",
|
||||
@"ç",
|
||||
@"à",
|
||||
@"â",
|
||||
@"ã",
|
||||
@"è",
|
||||
@"ê",
|
||||
@"ì",
|
||||
@"î",
|
||||
@"ñ",
|
||||
@"ô",
|
||||
@"õ",
|
||||
@"ù",
|
||||
@"û",
|
||||
nil
|
||||
] retain];
|
||||
normalChars = [[NORMAL_CHARS propertyList] retain];
|
||||
};
|
||||
if (!htmlChars)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue