chinedufn / percy

Build frontend browser apps with Rust + WebAssembly. Supports server side rendering.
https://chinedufn.github.io/percy/
Apache License 2.0
2.25k stars 84 forks source link

Support hyphenated attribute as second #200

Closed chinedufn closed 1 month ago

chinedufn commented 1 month ago

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.