diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-04-18 16:47:16 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-04-18 16:47:16 +0000 |
commit | a5404c266c2be06c6e8f0161be57d82b93bd8566 (patch) | |
tree | 5b5be63bb13083454095488a789535070651537a /file.c | |
parent | [w3m-dev 03880] Re: convert \ -> / in URL (diff) | |
download | w3m-a5404c266c2be06c6e8f0161be57d82b93bd8566.tar.gz w3m-a5404c266c2be06c6e8f0161be57d82b93bd8566.zip |
[w3m-dev 03882] Re: Bug#189460: w3m: <q> tag is not recognized
* file.c (HTMLtagproc1): add HTML_Q, HTML_N_Q
* html.c (TagMAP): add "q", "/q"
* html.h (HTML_Q): added
(HTML_N_Q): added
* tagtable.tab: add q, /q
From: Fumitoshi UKAI <ukai@debian.or.jp>
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: file.c,v 1.222 2003/04/14 03:29:38 ukai Exp $ */ +/* $Id: file.c,v 1.223 2003/04/18 16:47:17 ukai Exp $ */ #include "fm.h" #include <sys/types.h> #include "myctype.h" @@ -4158,6 +4158,12 @@ HTMLtagproc1(struct parsed_tag *tag, struct html_feed_environ *h_env) case HTML_N_EM: HTMLlineproc1("</b>", h_env); return 1; + case HTML_Q: + HTMLlineproc1("`", h_env); + return 1; + case HTML_N_Q: + HTMLlineproc1("'", h_env); + return 1; case HTML_P: case HTML_N_P: CLOSE_A; |