aboutsummaryrefslogtreecommitdiffstats
path: root/html.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-08-29wip from about a week ago. Need to stash these away for now to check the q ↵Ambrose Li1-2/+2
branch
2020-08-25In HTML5 anchors should not be closed when encountering divs, for example, ↵Ambrose Li1-2/+4
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-23Add TFLG_END to "/sup", "/sub" and "/figure" for TagMAPTatsuya Kinoshita1-5/+3
2020-08-21Rudimentary support for figure, figcaptionAmbrose Li1-4/+5
2012-05-24Merge from upstream on 2012-05-22Tatsuya Kinoshita1-3/+3
2012-05-22Merge from upstream on 2012-05-22Tatsuya Kinoshita1-3/+3
2011-06-19Support the button element as defined in HTML 4.01Tatsuya Kinoshita1-17/+20
Patch from upstream, [w3m-dev 04411] on 2010-09-17, to support the button element. It is discussed upstream and incomplete, but enough to login Launchpad.
2011-05-04Adding upstream version 0.5.3upstream/0.5.3Tatsuya Kinoshita1-62/+104
2011-05-04Adding upstream version 0.5.2upstream/0.5.2Tatsuya Kinoshita1-29/+40
2011-05-04Adding upstream version 0.5.1upstream/0.5.1Tatsuya Kinoshita1-0/+341