[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#16285: 24.3.50; [PATCH] shr: handle <a> tag with blank error.
From: |
Lars Magne Ingebrigtsen |
Subject: |
bug#16285: 24.3.50; [PATCH] shr: handle <a> tag with blank error. |
Date: |
Sun, 05 Jan 2014 10:48:18 +0100 |
User-agent: |
Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) |
Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> writes:
> * net/eww.el (shr-descend): Handle <a> tag with blank error.
I've now fixed this in a different manner. Your patch would have bugged
out if the empty anchor was the first element in the buffer, so I just
made it insert a "*" if we have an empty anchor.
The anchoring mechanism should perhaps be implemented in a different
way -- markers instead of text properties, for instance? That way
zero-length anchors would be no problem. Rewriting it in that way
should probably wait until after the feature freeze, though.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#16285: 24.3.50; [PATCH] shr: handle <a> tag with blank error.,
Lars Magne Ingebrigtsen <=