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 /etc.c | |
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 '')
-rw-r--r-- | etc.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -727,6 +727,11 @@ next_status(char c, int *status) case '>': *status = R_ST_NORMAL; break; + case 'D': + case 'd': + /* could be a !doctype */ + *status = R_ST_TAG; + break; default: *status = R_ST_IRRTAG; } |