332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
|
void *opaque
){
BLOB_APPEND_LITERAL(ob, " <tr>\n");
BLOB_APPEND_BLOB(ob, cells);
BLOB_APPEND_LITERAL(ob, " </tr>\n");
}
static void append_footnote_upc(
struct Blob *ob,
const struct Blob *upc, /* token of user-provided classes */
int bHTML /* if true then render markup, otherwise just a list of classes */
){
const char *z = blob_buffer(upc);
int i, n = blob_size(upc);
if( n<3 ) return;
assert( z[0]=='.' && z[n-1] == ':' );
if( bHTML ){
|
>
>
>
>
|
|
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
|
void *opaque
){
BLOB_APPEND_LITERAL(ob, " <tr>\n");
BLOB_APPEND_BLOB(ob, cells);
BLOB_APPEND_LITERAL(ob, " </tr>\n");
}
/* Render a token of user provided classes.
** If bHTML is true then render HTML for (presumably) visible text,
** otherwise just a space-separated list of the derived classes
*/
static void append_footnote_upc(
struct Blob *ob,
const struct Blob *upc, /* token of user-provided classes */
int bHTML
){
const char *z = blob_buffer(upc);
int i, n = blob_size(upc);
if( n<3 ) return;
assert( z[0]=='.' && z[n-1] == ':' );
if( bHTML ){
|