From e6e9b7ae2e6d750db972584cf355d86b33b18954 Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Thu, 10 Oct 2002 16:59:32 +0000 Subject: [w3m-dev 03339] Re: Debian Bug#164098 w3m: is not properly supported * file.c (HTMLtagproc1): HTML_SUP, HTML_N_SUP, HTML_SUB, HTML_N_SUB * html.c (TagMAP): sup, /sup, sub, /sub * html.c (HTML_SUP): added (HTML_N_SUP): added (HTML_SUB): added (HTML_N_SUB): added * table.c (feed_table_tag): HTML_SUP, HTML_N_SUP, HTML_SUB, HTML_N_SUB * tagtable.tab (sup): added (/sup): added (sub): added (/sub): added From: Fumitoshi UKAI --- file.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'file.c') diff --git a/file.c b/file.c index fc62f4f..0ebbb35 100644 --- a/file.c +++ b/file.c @@ -1,4 +1,4 @@ -/* $Id: file.c,v 1.102 2002/09/28 16:30:07 ukai Exp $ */ +/* $Id: file.c,v 1.103 2002/10/10 16:59:33 ukai Exp $ */ #include "fm.h" #include #include "myctype.h" @@ -4591,6 +4591,17 @@ HTMLtagproc1(struct parsed_tag *tag, struct html_feed_environ *h_env) case HTML_N_INS: HTMLlineproc1(":INS]", h_env); return 1; + case HTML_SUP: + HTMLlineproc1("^", h_env); + return 1; + case HTML_N_SUP: + return 1; + case HTML_SUB: + HTMLlineproc1("[", h_env); + return 1; + case HTML_N_SUB: + HTMLlineproc1("]", h_env); + return 1; case HTML_FONT: case HTML_N_FONT: case HTML_NOP: -- cgit v1.2.3