diff options
author | Tatsuya Kinoshita <tats@debian.org> | 2020-08-23 10:07:22 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-23 10:07:22 +0000 |
commit | 59f873b7bf709f63b6f724f38614e699681de2e3 (patch) | |
tree | b080e66c539a1171bf2b43b60ff66f16bc960d64 /file.c | |
parent | Update ChangeLog (diff) | |
parent | Rudimentary support for figure, figcaption (diff) | |
download | w3m-59f873b7bf709f63b6f724f38614e699681de2e3.tar.gz w3m-59f873b7bf709f63b6f724f38614e699681de2e3.zip |
Merge pull request #136 from acli/20200821_figure
Rudimentary support for figure, figcaption
Diffstat (limited to '')
-rw-r--r-- | file.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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; |