chinedufn / percy

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

Support hyphenated attribute as second #200

Closed chinedufn closed 5 months ago

chinedufn commented 5 months 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.