Updated docs again

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1549 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
rainwater 2002-11-01 22:48:07 +00:00
parent be8d9d61ab
commit 866e6aaef1

View file

@ -1074,12 +1074,8 @@ xhtml_add_contents_entry(FILE * fp, xhtmlsection * section, int limit)
fprintf(fp, "<ul>\n");
}
fprintf(fp, "<li>");
if ((section->para->type==para_Heading||section->para->type==para_Chapter)&&section->para->kwtext&&section->para->words) {
xhtml_para(fp, section->para->kwtext);
fprintf(fp,": ");
}
fprintf(fp, "<a href=\"%s#%s\">", section->file->filename,section->fragment);
if ((section->para->type!=para_Heading&&section->para->type!=para_Chapter)||(section->para->kwtext&&!section->para->words)) {
if ((section->para->type!=para_Heading&&section->para->type!=para_Appendix)||(section->para->kwtext&&!section->para->words)) {
xhtml_para(fp, section->para->kwtext);
if (section->para->words)
fprintf(fp, ": ");