aboutsummaryrefslogtreecommitdiffstats
path: root/tests (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use > instead of &gt in entity test generatorbptato2021-03-011-5/+5
|
* Fix small mistakes in entity test generatorbptato2021-02-281-15/+15
|
* Support single-codepoint HTML entities specified by whatwgbptato2021-02-282-0/+8947
| | | | https://html.spec.whatwg.org/multipage/named-characters.html#named-character-references
* Nested <dl>sbptato2021-02-132-0/+13
|
* Fix <dl compact>bptato2021-02-132-2/+41
|
* <dl> testbptato2021-02-132-0/+41
|
* Merge pull request #146 from acli/20200821_a_CLEANEDTatsuya Kinoshita2020-08-304-0/+7
|\ | | | | Patch to make w3m’s handling of the a element HTML5 compatible (when the stream is HTML5)
| * In HTML5 anchors should not be closed when encountering divs, for example, ↵Ambrose Li2020-08-255-0/+38
| | | | | | 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.
* Cleaned version of 20200823_q branch. Changes the behaviour of the q tag ↵Ambrose Li2020-08-2422-0/+71
(when m17n and Unicode are configured) to use "smart" quotes if the display charset can handle them. Falls back to old behaviour (ASCII quotes with left/right quote semantics for 6/0 and 2/6) if display charset is us-ascii. Also changes the behaviour of conv_entity() to convert left/right quotes and some dashes because named entities are needed for the new code for the q tag.