Skip to content

**kwargs keys that start with -- should not be upgraded within css() or Tag attributes #69

@schloerke

Description

@schloerke

css()

Currently, css() upgrades all instances of _ to -.

This makes it impossible to create a css variable of --_foo. css(**{"--_foo": "bar"}) will get transformed to ---foo:bar;.

Tag Attributes

Similarly, you can not create an attribute that contains _. Ex: div({"data-foo_bar": "baz"}) returns <div data-foo-bar="baz"></div>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions