Function: hfy-begin-span
hfy-begin-span is a byte-compiled function defined in
htmlfontify.el.gz.
Signature
(hfy-begin-span STYLE TEXT-BLOCK TEXT-ID TEXT-BEGINS-BLOCK-P)
Documentation
Default handler to begin a span of text.
Insert "<span class="STYLE" ...>".
See hfy-begin-span-handler for more information.
Source Code
;; Defined in /usr/src/emacs/lisp/htmlfontify.el.gz
(defun hfy-begin-span (style text-block text-id text-begins-block-p)
"Default handler to begin a span of text.
Insert \"<span class=\"STYLE\" ...>\".
See `hfy-begin-span-handler' for more information."
(when text-begins-block-p
(insert
(format "<span onclick=\"toggle_invis('%s');\">…</span>" text-block)))
(insert
(if text-block
(format "<span class=\"%s\" id=\"%s-%d\">" style text-block text-id)
(format "<span class=\"%s\">" style))))