Explicitly discard attributes given to fragment
This commit is contained in:
parent
1109779a5f
commit
1b699a09ee
1 changed files with 5 additions and 2 deletions
|
@ -221,8 +221,11 @@
|
|||
(defmacro ,name (&body attrs-and-children)
|
||||
`(,',%name ,@attrs-and-children)))))
|
||||
|
||||
(defun %<> (&rest children)
|
||||
(make-fragment :children children))
|
||||
(defun %<> (&rest attrs-and-children)
|
||||
(multiple-value-bind (attrs children)
|
||||
(split-attrs-and-children attrs-and-children)
|
||||
(declare (ignore attrs))
|
||||
(make-fragment :children children)))
|
||||
|
||||
(defmacro <> (&body children)
|
||||
`(%<> ,@children))
|
||||
|
|
Loading…
Reference in a new issue