aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorAmbrose Li <ambrose.li@gmail.com>2020-08-21 08:26:26 +0000
committerAmbrose Li <ambrose.li@gmail.com>2020-08-21 08:26:26 +0000
commit73949a3e125e133c1297a62771425dbbd6bf243d (patch)
treeb080e66c539a1171bf2b43b60ff66f16bc960d64 /file.c
parentUpdate ChangeLog (diff)
downloadw3m-73949a3e125e133c1297a62771425dbbd6bf243d.tar.gz
w3m-73949a3e125e133c1297a62771425dbbd6bf243d.zip
Rudimentary support for figure, figcaption
Diffstat (limited to 'file.c')
-rw-r--r--file.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/file.c b/file.c
index 0333e9a..c0fc044 100644
--- a/file.c
+++ b/file.c
@@ -4492,6 +4492,8 @@ HTMLtagproc1(struct parsed_tag *tag, struct html_feed_environ *h_env)
case HTML_N_Q:
HTMLlineproc1("'", h_env);
return 1;
+ case HTML_FIGURE:
+ case HTML_N_FIGURE:
case HTML_P:
case HTML_N_P:
CLOSE_A;
@@ -4506,6 +4508,8 @@ HTMLtagproc1(struct parsed_tag *tag, struct html_feed_environ *h_env)
obuf->flag |= RB_P;
}
return 1;
+ case HTML_FIGCAPTION:
+ case HTML_N_FIGCAPTION:
case HTML_BR:
flushline(h_env, obuf, envs[h_env->envc].indent, 1, h_env->limit);
h_env->blank_lines = 0;