Hello, Manuel, all! On Sat, Jan 27, 2024, 12:18 Manuel Giraud wrote: > FWIW, it seems that 'libxml-parse-xml-region' seems to do the right > thing. > Yes, libxml-parse-xml-region preserves case. I think shr uses libxml-parse-html-region to try to be more forgiving of real-world HTML, though, as documented in https://www.gnu.org/software/emacs/manual/html_node/elisp/Parsing-HTML_002fXML.html . Sacha >