377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
|
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
|
-
+
|
const bitfield64_t l = to_base26(i,0);
blob_appendf(ob," <a id='footnote-%s-%s'"
" href='#noteref-%s-%s'>%s</a>",
pos,l.c, pos,l.c, l.c);
}
if( i < nUsed ) BLOB_APPEND_LITERAL(ob," …");
}
BLOB_APPEND_LITERAL(ob,"</sup>\n\t");
BLOB_APPEND_LITERAL(ob,"</sup>\n");
BLOB_APPEND_BLOB(ob, text);
BLOB_APPEND_LITERAL(ob, "\n</li>\n");
}
static void html_footnotes(
struct Blob *ob, const struct Blob *items, void *opaque
){
if( items && blob_size(items) ){
|