diff options
author | Tatsuya Kinoshita <tats@debian.org> | 2020-08-30 00:57:45 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-30 00:57:45 +0000 |
commit | 6339dd9f13ec171765a139cf2ec3c7f669235ecd (patch) | |
tree | 7d9de0bb4df6ac6883de4ddb9fc83a371286ddd9 /tests | |
parent | Merge pull request #145 from acli/20200824_zh_TW_CLEANED (diff) | |
parent | In HTML5 anchors should not be closed when encountering divs, for example, bu... (diff) | |
download | w3m-6339dd9f13ec171765a139cf2ec3c7f669235ecd.tar.gz w3m-6339dd9f13ec171765a139cf2ec3c7f669235ecd.zip |
Merge pull request #146 from acli/20200821_a_CLEANED
Patch to make w3m’s handling of the a element HTML5 compatible (when the stream is HTML5)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/a1.expected | 2 | ||||
-rw-r--r-- | tests/a1.html | 1 | ||||
-rw-r--r-- | tests/a2.expected | 1 | ||||
-rw-r--r-- | tests/a2.html | 3 |
4 files changed, 7 insertions, 0 deletions
diff --git a/tests/a1.expected b/tests/a1.expected new file mode 100644 index 0000000..5812232 --- /dev/null +++ b/tests/a1.expected @@ -0,0 +1,2 @@ + +test diff --git a/tests/a1.html b/tests/a1.html new file mode 100644 index 0000000..7e89006 --- /dev/null +++ b/tests/a1.html @@ -0,0 +1 @@ +<a href="example"><div>test</div></a> diff --git a/tests/a2.expected b/tests/a2.expected new file mode 100644 index 0000000..9daeafb --- /dev/null +++ b/tests/a2.expected @@ -0,0 +1 @@ +test diff --git a/tests/a2.html b/tests/a2.html new file mode 100644 index 0000000..197b006 --- /dev/null +++ b/tests/a2.html @@ -0,0 +1,3 @@ +<!doctype html> +<meta charset=utf-8> +<a href="example"><div>test</div></a> |