aboutsummaryrefslogtreecommitdiffstats
path: root/html.h (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-0/+2
branch
2020-08-25In HTML5 anchors should not be closed when encountering divs, for example, ↵Ambrose Li1-0/+1
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-21Rudimentary support for figure, figcaptionAmbrose Li1-0/+4
2016-12-05Explictily include <time.h> to avoid build errYixun Lan1-0/+2
while disable ssl, we will got a undefine time_t err see https://bugs.gentoo.org/show_bug.cgi?id=601498 Signed-off-by: Yixun Lan <dlan@gentoo.org>
2015-08-11Adjust UFclose to remove false positive of CWE-481David Crosby1-1/+1
2013-10-14Workaround of GC crash on Cygwin64AIDA Shinra1-4/+3
Patch from <http://www.j10n.org/files/w3m-cvs-1.1055-win64gc.patch>, [w3m-dev:04469] on 2013-10-14.
2011-06-19Support the button element as defined in HTML 4.01Tatsuya Kinoshita1-15/+16
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-28/+55
2011-05-04Adding upstream version 0.5.2upstream/0.5.2Tatsuya Kinoshita1-30/+36
2011-05-04Adding upstream version 0.5.1upstream/0.5.1Tatsuya Kinoshita1-0/+376