diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_Help_View.cxx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/Fl_Help_View.cxx b/src/Fl_Help_View.cxx index 40ab5cef8..86e45fd3a 100644 --- a/src/Fl_Help_View.cxx +++ b/src/Fl_Help_View.cxx @@ -1291,8 +1291,14 @@ Fl_Help_View::format() xx -= 4 * fsize; block->h += fsize + 2; } - else if (strcasecmp(buf, "/TABLE") == 0) + else if (strcasecmp(buf, "/TABLE") == 0) + { block->h += fsize + 2; + // the current block is *not* the table block, so the current xx is + // meaningless. Set it back to page x, so the next block will be aligned + // reasonably. This fails fro table-in-table html! + xx = 4; + } else if (strcasecmp(buf, "/PRE") == 0) { pre = 0; |
