Explicitly discard attributes given to fragment

This commit is contained in:
paku 2024-02-10 02:53:51 +09:00
parent 1109779a5f
commit 1b699a09ee

View file

@ -221,8 +221,11 @@
(defmacro ,name (&body attrs-and-children) (defmacro ,name (&body attrs-and-children)
`(,',%name ,@attrs-and-children))))) `(,',%name ,@attrs-and-children)))))
(defun %<> (&rest children) (defun %<> (&rest attrs-and-children)
(make-fragment :children children)) (multiple-value-bind (attrs children)
(split-attrs-and-children attrs-and-children)
(declare (ignore attrs))
(make-fragment :children children)))
(defmacro <> (&body children) (defmacro <> (&body children)
`(%<> ,@children)) `(%<> ,@children))