Only read title when in head
Before this change, it was possible that w3m would interpret a title tag under e.g. an svg tag as the page title.
This commit is contained in:
committed by
Tatsuya Kinoshita
parent
54fb5fa186
commit
0189e8aa5c
1
fm.h
1
fm.h
@@ -675,6 +675,7 @@ struct readbuffer {
|
||||
#define RB_DEL 0x100000
|
||||
#define RB_S 0x200000
|
||||
#define RB_HTML5 0x400000
|
||||
#define RB_HEAD 0x800000
|
||||
|
||||
#define RB_GET_ALIGN(obuf) ((obuf)->flag&RB_ALIGN)
|
||||
#define RB_SET_ALIGN(obuf,align) do{(obuf)->flag &= ~RB_ALIGN; (obuf)->flag |= (align); }while(0)
|
||||
|
Reference in New Issue
Block a user