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)
This commit is contained in:
Tatsuya Kinoshita
2020-08-30 09:57:45 +09:00
committed by GitHub
9 changed files with 41 additions and 6 deletions

2
tests/a1.expected Normal file
View File

@@ -0,0 +1,2 @@
test

1
tests/a1.html Normal file
View File

@@ -0,0 +1 @@
<a href="example"><div>test</div></a>

1
tests/a2.expected Normal file
View File

@@ -0,0 +1 @@
test

3
tests/a2.html Normal file
View File

@@ -0,0 +1,3 @@
<!doctype html>
<meta charset=utf-8>
<a href="example"><div>test</div></a>