diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-10-10 16:59:32 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-10-10 16:59:32 +0000 |
commit | e6e9b7ae2e6d750db972584cf355d86b33b18954 (patch) | |
tree | c510fa8f9520ea1c8da86fb19b24ec9869e09324 /file.c | |
parent | [w3m-dev 03337] delete unused functions in fb.c etc. (Re: canna patch) (diff) | |
download | w3m-e6e9b7ae2e6d750db972584cf355d86b33b18954.tar.gz w3m-e6e9b7ae2e6d750db972584cf355d86b33b18954.zip |
[w3m-dev 03339] Re: Debian Bug#164098 w3m: <sup> 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 <ukai@debian.or.jp>
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -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 <sys/types.h> #include "myctype.h" @@ -4591,6 +4591,17 @@ HTMLtagproc1(struct parsed_tag *tag, struct html_feed_environ *h_env) case HTML_N_INS: HTMLlineproc1("<U>:INS]</U>", 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: |