Ambrose Li
48c9ec565d
In HTML5 anchors should not be closed when encountering divs, for example, but should be closed when encountering buttons, for example. Many sites that use HTML5-style anchors end up having links displayed with zero-length link texts. The proposed patch correct this behaviour by detecting whether the document is HTML5, then suppressing the close-anchor action in CLOSE_A if it's an HTML5 document. A new macro handles the HTML5-specific cases where anchors are not already always closed.
...
This also fixes a bug in the tokenizing FSM in etc.c that prevented the !doctype element from being recognized; the fix is necessary because HTML5 detection depends on checking the !doctype element.
2020-08-24 23:48:09 -04:00
Tatsuya Kinoshita
1978455e2e
Prevent negative array index for realColumn in calcPosition()
...
Bug-Debian: https://github.com/tats/w3m/issues/69
2016-12-10 22:30:36 +09:00
Araki Ken
09ececc3b7
Remove close_tty() from setup_child() because close_tty() sometimes interrupts loadGeneralFile() in loadImage() and corrupt image data can be cached in ~/.w3m.
2014-12-06 20:47:05 +09:00
Tatsuya Kinoshita
6db339b3d7
Adding upstream version 0.5.2
2011-05-04 16:23:02 +09:00
Tatsuya Kinoshita
72f72d64a4
Adding upstream version 0.5.1
2011-05-04 16:05:14 +09:00