Export element functions

This commit is contained in:
paku 2024-04-15 22:45:30 +09:00
parent 6882260bb2
commit 1f588b8a62

View file

@ -14,7 +14,9 @@
#:escape-children
#:*escape-html*)
(:export #:html
#:%html
#:<>
#:%<>
#:define-element
#:tag
#:children
@ -189,7 +191,8 @@
,@(mapcan (lambda (e)
(list `(define-builtin-element ,e)
`(setf (gethash (make-keyword ',e) *builtin-elements*) t)
`(export ',e)))
`(export ',e)
`(export ',(symbolicate '% e))))
element-names)))
(define-and-export-builtin-elements