Skip to content

children without attributes #7

@ulrivo

Description

@ulrivo

Hi,

I am impressed by flute - thank you.

I have a question: if I define an user-element and have no attributes for children, there is an error.

Example:

(define-element just-div ()
  (div children))

(just-div (a "a"))

There will be an "error-printing-object".

With a nil as attribute, the error is gone:

(define-element just-div ()
  (div nil children))

Is this a bug or a feature?

Regards,
Ulrich

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions