version 1.149, 2011/01/29 14:49:44 |
version 1.152, 2011/02/06 23:02:31 |
|
|
/* $Id$ */ |
/* $Id$ */ |
/* |
/* |
* Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv> |
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> |
* |
* |
* Permission to use, copy, modify, and distribute this software for any |
* Permission to use, copy, modify, and distribute this software for any |
* purpose with or without fee is hereby granted, provided that the above |
* purpose with or without fee is hereby granted, provided that the above |
Line 432 print_mdoc_node(MDOC_ARGS) |
|
Line 432 print_mdoc_node(MDOC_ARGS) |
|
print_otag(h, TAG_BR, 0, NULL); |
print_otag(h, TAG_BR, 0, NULL); |
print_text(h, n->string); |
print_text(h, n->string); |
return; |
return; |
|
case (MDOC_EQN): |
|
return; |
case (MDOC_TBL): |
case (MDOC_TBL): |
/* |
/* |
* This will take care of initialising all of the table |
* This will take care of initialising all of the table |
|
|
mdoc_ns_pre(MDOC_ARGS) |
mdoc_ns_pre(MDOC_ARGS) |
{ |
{ |
|
|
h->flags |= HTML_NOSPACE; |
if ( ! (MDOC_LINE & n->flags)) |
|
h->flags |= HTML_NOSPACE; |
return(1); |
return(1); |
} |
} |
|
|
Line 803 mdoc_xx_pre(MDOC_ARGS) |
|
Line 806 mdoc_xx_pre(MDOC_ARGS) |
|
{ |
{ |
const char *pp; |
const char *pp; |
struct htmlpair tag; |
struct htmlpair tag; |
|
int flags; |
|
|
switch (n->tok) { |
switch (n->tok) { |
case (MDOC_Bsx): |
case (MDOC_Bsx): |
Line 832 mdoc_xx_pre(MDOC_ARGS) |
|
Line 836 mdoc_xx_pre(MDOC_ARGS) |
|
|
|
print_text(h, pp); |
print_text(h, pp); |
if (n->child) { |
if (n->child) { |
|
flags = h->flags; |
h->flags |= HTML_KEEP; |
h->flags |= HTML_KEEP; |
print_text(h, n->child->string); |
print_text(h, n->child->string); |
h->flags &= ~HTML_KEEP; |
h->flags = flags; |
} |
} |
return(0); |
return(0); |
} |
} |