aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@debian.org>2015-02-02 14:09:34 +0000
committerTatsuya Kinoshita <tats@debian.org>2015-02-02 14:09:34 +0000
commit0efbaf15c364a249feae778695b707edf1d9998c (patch)
tree85d5137ba75a80a95070950805b07fd3ad86b6f9 /file.c
parentMerge branch 'bug/changelog' (diff)
downloadw3m-0efbaf15c364a249feae778695b707edf1d9998c.tar.gz
w3m-0efbaf15c364a249feae778695b707edf1d9998c.zip
New option "display_borders" to display 0 pixel table borders.
cf. http://d.hatena.ne.jp/rubikitch/20101120
Diffstat (limited to '')
-rw-r--r--file.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/file.c b/file.c
index 709a0c1..605fc78 100644
--- a/file.c
+++ b/file.c
@@ -4982,6 +4982,8 @@ HTMLtagproc1(struct parsed_tag *tag, struct html_feed_environ *h_env)
else
w = BORDER_THIN;
}
+ if (DisplayBorders && w == BORDER_NONE)
+ w = BORDER_THIN;
if (parsedtag_get_value(tag, ATTR_WIDTH, &i)) {
if (obuf->table_level == 0)
width = REAL_WIDTH(i, h_env->limit - envs[h_env->envc].indent);