Function: htmlize-get-text-with-display
htmlize-get-text-with-display is a byte-compiled function defined in
htmlize.el.
Signature
(htmlize-get-text-with-display BEG END)
Source Code
;; Defined in ~/.emacs.d/elpa/htmlize-20250724.1703/htmlize.el
(defun htmlize-get-text-with-display (beg end)
;; Like buffer-substring-no-properties, except it copies the
;; `display' property from the buffer, if found.
(let ((text (buffer-substring-no-properties beg end)))
(htmlize-copy-prop 'display beg end text)
(htmlize-copy-prop 'htmlize-link beg end text)
(setq text (htmlize-add-before-after-strings beg end text))
text))