]> git.eshelyaron.com Git - emacs.git/commit
shr: Correct SVG attribute case
authorSacha Chua <sacha@sachachua.com>
Fri, 26 Jan 2024 13:54:03 +0000 (08:54 -0500)
committerEshel Yaron <me@eshelyaron.com>
Sun, 4 Feb 2024 11:00:45 +0000 (12:00 +0100)
commitea2a735fdaeccf4646917a7309f04966004565fa
tree3b2b4d943c144f2ee98b58cff0af17425e88a3f8
parent7afcd2780e1899f2984ee5b4a45e5183597ab334
shr: Correct SVG attribute case

* lisp/net/shr.el (shr-correct-attribute-case): New constant.
(shr-correct-dom-case): New function to correct SVG attribute case.
(shr-tag-svg): Correct SVG attribute cases before using them.

(cherry picked from commit 169c704d74747d411a545eff9c497ddafb9c886c)
lisp/net/shr.el