Function: cider--html-to-propertized-string
cider--html-to-propertized-string is a byte-compiled function defined
in cider-docstring.el.
Signature
(cider--html-to-propertized-string HTML-STRING)
Documentation
Convert an HTML-STRING into a propertized string using SHR.
Source Code
;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-docstring.el
(defun cider--html-to-propertized-string (html-string)
"Convert an HTML-STRING into a propertized string using SHR."
(with-temp-buffer
(insert html-string)
(cider--string-rstrip-newlines ;; shr-insert-document adds a final newline. Plain text fragments are responsible for separating fragments if needed..
(let ((dom (libxml-parse-html-region (point-min) (point-max))))
(erase-buffer)
(shr-insert-document dom)
(buffer-string)))))