Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support hyphenated attribute as second #200

Merged
merged 1 commit into from
Jun 3, 2024
Merged

Support hyphenated attribute as second #200

merged 1 commit into from
Jun 3, 2024

Conversation

chinedufn
Copy link
Owner

This commit adds support for when a hyphenated attribute is the second
attribute.

html! {
  <path
    d="..."
    stroke-linejoin="miter"
  />
}

Before this commit the html! procedural macro would error if a
hyphenated attribute was present and was not the first attribute.

This commit adds support for when a hyphenated attribute is the second
attribute.

```rust
html! {
  <path
    d="..."
    stroke-linejoin="miter"
  />
}
```

Before this commit the `html!` procedural macro would error if a
hyphenated attribute was present and was not the first attribute.
@chinedufn chinedufn merged commit c6d8553 into master Jun 3, 2024
2 checks passed
@chinedufn chinedufn deleted the fix-attribs branch June 3, 2024 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant