[w3m-dev 03548] close anchor before <img align=...>

* file.c (process_img): use div_int
	(process_hr): use div_int
	(process_idattr): don't close_anchor
	(CLOSE_A): added
	(HTMLtagproc1): </p> close anchor
	  <dl>,<ul>,<ol>,<blockquote>,<li>,<dt>,<dd> close anchor
	  <noframes> close anchor
	  <pre> close anchor
	  <center> close anchor
	  <div> close anchor
	  add DIV_INT
	  <form> close anchor
* html.c (TagMAP): add div_int
* html.h (HTML_DIV_INT): added
	(HTML_N_DIV_INT): added
* tagtable.tab (div_int): added
		(/div_int): added
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
This commit is contained in:
Fumitoshi UKAI
2002-12-09 15:40:34 +00:00
parent d2c8b1d1fc
commit 4c89fd63aa
5 changed files with 74 additions and 37 deletions

6
html.h
View File

@@ -1,4 +1,4 @@
/* $Id: html.h,v 1.14 2002/12/06 16:50:28 ukai Exp $ */
/* $Id: html.h,v 1.15 2002/12/09 15:40:37 ukai Exp $ */
#ifndef _HTML_H
#define _HTML_H
#ifdef USE_SSL
@@ -218,8 +218,10 @@ typedef struct {
#define HTML_N_PRE_PLAIN 128
#define HTML_INTERNAL 129
#define HTML_N_INTERNAL 130
#define HTML_DIV_INT 131
#define HTML_N_DIV_INT 132
#define MAX_HTMLTAG 131
#define MAX_HTMLTAG 133
/* Tag attribute */