Function: combobulate-html-pretty-print
combobulate-html-pretty-print is a natively compiled function defined
in combobulate-html.el.
Signature
(combobulate-html-pretty-print NODE DEFAULT-NAME)
Source Code
;; Defined in /nix/store/b5fvrwzi3zvkabyzx0in6gw1cj963z46-emacs-packages-deps/share/emacs/site-lisp/combobulate-html.el
(defun combobulate-html-pretty-print (node default-name)
(cond
((and node (member (combobulate-node-type node) '("element" "script_element" "style_element")))
(format "<%s>" (thread-first node
(combobulate-node-child 0)
(combobulate-node-child 0)
(combobulate-node-text))))
((and node (equal (combobulate-node-type node) "text"))
(format "`%s'" (combobulate-node-text node)))
((and node (equal (combobulate-node-type node) "comment"))
(combobulate-node-text node))
(t default-name)))