Function: hfy-html-dekludge-buffer

hfy-html-dekludge-buffer is a byte-compiled function defined in htmlfontify.el.gz.

Signature

(hfy-html-dekludge-buffer)

Documentation

Transform all dangerous characters marked with the hfy-quoteme property using hfy-html-quote.

See also hfy-html-enkludge-buffer.

Source Code

;; Defined in /usr/src/emacs/lisp/htmlfontify.el.gz
;; actually entity-ise dangerous chars.
;; note that we can't do this until _after_ we have inserted the css
;; markup, since we use a position-based map to insert this, and if we
;; enter any other text before we do this, we'd have to track another
;; map of offsets, which would be tedious...
(defun hfy-html-dekludge-buffer ()
  "Transform all dangerous characters marked with the `hfy-quoteme' property
using `hfy-html-quote'.

See also `hfy-html-enkludge-buffer'."
  ;;(message "hfy-html-dekludge-buffer");;DBUG
  (save-excursion
    (goto-char (point-min))
    (while (re-search-forward hfy-html-quote-regex nil t)
      (if (get-text-property (match-beginning 0) 'hfy-quoteme)
          (replace-match (hfy-html-quote (match-string 1))) )) ))