aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2003-04-18 16:47:16 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2003-04-18 16:47:16 +0000
commita5404c266c2be06c6e8f0161be57d82b93bd8566 (patch)
tree5b5be63bb13083454095488a789535070651537a /file.c
parent[w3m-dev 03880] Re: convert \ -> / in URL (diff)
downloadw3m-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 '')
-rw-r--r--file.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/file.c b/file.c
index 7863e0b..320fe23 100644
--- a/file.c
+++ b/file.c
@@ -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;