]> git.eshelyaron.com Git - emacs.git/commit
Propertize all shr fragment IDs as shr-target-id
authorBasil L. Contovounesios <contovob@tcd.ie>
Thu, 7 May 2020 23:25:38 +0000 (00:25 +0100)
committerBasil L. Contovounesios <contovob@tcd.ie>
Thu, 18 Jun 2020 15:16:49 +0000 (16:16 +0100)
commit3dd6b23cdfa64bdff2bdc9e7fbf9844a2ed6cd8f
treeefa4987abd30a46fe096b9a420ca4eba71df6d88
parent453d30d92cbf940567869d4705c1fcfe57725825
Propertize all shr fragment IDs as shr-target-id

* lisp/net/shr.el (shr-target-id): Add docstring.
(shr-descend, shr-tag-a): Display dummy anchor characters as the
empty string.  Give all relevant 'id' or 'name' fragment identifier
attributes the shr-target-id text property.  This ensures that
cached content, such as tables, retains the property across
renders.  (Bug#40532)

* lisp/net/eww.el: (eww-display-html): Adapt shr-target-id property
search accordingly.
lisp/net/eww.el
lisp/net/shr.el