shr-render-buffer: how to preserve the URL inside a link?

Running shr-render-buffer renders the HTML accurately using appropriate faces for different element types and underlines links but clicking on any of the links produces the message:

No link under point.

Any suggestions?

GNU Emacs 28.2 (build 2, x86_64-w64-mingw32) of 2022-10-11

Note that this forum is mainly for Chinese-speaking Emacs users. You may find better luck by emailing the mailing list [email protected].

provide the code, please

Reproduction code plese.

For example:

$ emacs -Q -eval "(with-temp-buffer
                    (require 'shr)
                    (insert \"<html>
                                 Here is a <a href=\\\"\\\">link</a>.
                    (shr-render-buffer (current-buffer)))"