aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@debian.org>2016-08-19 21:53:41 +0000
committerTatsuya Kinoshita <tats@debian.org>2016-08-19 21:57:56 +0000
commit6612318232a5ef91db1fe26678c3ef1f87385d50 (patch)
tree0e12afb6c1ba4752e72d41971220e7bfc425bf26 /file.c
parentUpdate ChangeLog (diff)
downloadw3m-6612318232a5ef91db1fe26678c3ef1f87385d50.tar.gz
w3m-6612318232a5ef91db1fe26678c3ef1f87385d50.zip
Revert "Fix uninitialised values for <i> and <dd>"
This reverts commit 0fba2f1a6eb6861206ad120a02af2643938082cd. cf. https://github.com/tats/w3m/commit/0fba2f1a6eb6861206ad120a02af2643938082cd#commitcomment-18703355
Diffstat (limited to 'file.c')
-rw-r--r--file.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/file.c b/file.c
index b66f8c8..de916bc 100644
--- a/file.c
+++ b/file.c
@@ -4686,12 +4686,6 @@ HTMLtagproc1(struct parsed_tag *tag, struct html_feed_environ *h_env)
case HTML_DD:
CLOSE_A;
CLOSE_DT;
- if (h_env->envc == 0 ||
- (h_env->envc_real < h_env->nenv &&
- envs[h_env->envc].env != HTML_DL &&
- envs[h_env->envc].env != HTML_DL_COMPACT)) {
- PUSH_ENV(HTML_DL);
- }
if (envs[h_env->envc].env == HTML_DL_COMPACT) {
if (obuf->pos > envs[h_env->envc].indent)
flushline(h_env, obuf, envs[h_env->envc].indent, 0,