Differences From Artifact [0d1f6957fe]:
- File src/wikiformat.c — part of check-in [b2e55c0d4d] at 2007-09-01 21:11:33 on branch trunk — Add the /wiki and /bwiki web pages. Currently renders content from the check-out as readonly. (user: drh size: 28260)
To Artifact [a4e0918f23]:
- File src/wikiformat.c — part of check-in [11976cfdc2] at 2007-09-02 02:01:35 on branch trunk — Add the "index.wiki" wiki page. Fix a bug in the wiki rendering engine. The page displays now, but not correctly - there are clearly additional bugs to be found and fixed. (user: drh size: 28269) [more...]
| ︙ | |||
317 318 319 320 321 322 323 324 325 326 327 328 329 330 | 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 | + |
if( !isalpha(z[n]) ) return 0;
while( isalpha(z[n]) ){ n++; }
if( z[n]!='>' && !isspace(z[n]) ) return 0;
while( z[n] && (z[n]!='>' || inparen) ){
if( z[n]=='"' ){
inparen = !inparen;
}
n++;
}
if( z[n]!='>' ) return 0;
return n+1;
}
/*
** z points to a "\n" character. Check to see if this newline is
|
| ︙ |