aboutsummaryrefslogtreecommitdiffstats
path: root/etc.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-08-25In HTML5 anchors should not be closed when encountering divs, for example, ↵Ambrose Li1-0/+5
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.
2016-12-10Prevent negative array index for realColumn in calcPosition()Tatsuya Kinoshita1-1/+1
Bug-Debian: https://github.com/tats/w3m/issues/69
2014-12-06Remove close_tty() from setup_child() because close_tty() sometimes ↵Araki Ken1-0/+6
interrupts loadGeneralFile() in loadImage() and corrupt image data can be cached in ~/.w3m.
2011-05-04Adding upstream version 0.5.2upstream/0.5.2Tatsuya Kinoshita1-1/+25
2011-05-04Adding upstream version 0.5.1upstream/0.5.1Tatsuya Kinoshita1-0/+1989