Commit Graph

15 Commits

Author SHA1 Message Date
Rene Kita
047b448a3a Recognize link targets in dfn elements
This fixes https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1018696
2023-01-04 13:58:40 +01:00
Rene Kita
900b3d7b41 Refactor html.c 2023-01-04 13:58:40 +01:00
Rene Kita
ba68a3b3e6 Align in html.c 2023-01-04 13:58:40 +01:00
bptato
c8eb20b951 Fix a mistake I made with </dd> and </dt> tags 2021-02-13 21:49:25 +01:00
bptato
b2081866fd Improve description list rendering 2021-02-13 16:51:48 +01:00
Tatsuya Kinoshita
f8b3efef9c Merge pull request #147 from acli/20200825_section
Rudimentary support for the section tag
2020-08-30 09:59:02 +09:00
Ambrose Li
4d8ba3fe21 wip from about a week ago. Need to stash these away for now to check the q branch 2020-08-29 04:26:12 -04:00
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
9fb7e5beaf Add TFLG_END to "/sup", "/sub" and "/figure" for TagMAP 2020-08-23 19:11:38 +09:00
Ambrose Li
73949a3e12 Rudimentary support for figure, figcaption 2020-08-21 04:26:26 -04:00
Tatsuya Kinoshita
0b18a8df29 Merge from upstream on 2012-05-22 2012-05-22 23:09:07 +09:00
Tatsuya Kinoshita
6a032f360b Support the button element as defined in HTML 4.01
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-06-19 20:40:17 +09:00
Tatsuya Kinoshita
5397d09e58 Adding upstream version 0.5.3 2011-05-04 16:41:45 +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